#include <iostream>
#include <limits>
#include <bitset>
using namespace std;
int main()
{
bitset<numeric_limits<int>::digits> test2(585);
cout << test2.to_string() << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8bGltaXRzPgojaW5jbHVkZSA8Yml0c2V0Pgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKQp7CgliaXRzZXQ8bnVtZXJpY19saW1pdHM8aW50Pjo6ZGlnaXRzPiB0ZXN0Mig1ODUpOwoKCWNvdXQgPDwgdGVzdDIudG9fc3RyaW5nKCkgPDwgZW5kbDsKfQo=