#include using namespace std; int main() { int x; cin >> x; do { cout << (x & 0x01); x = x >> 1; }while(x); cout << endl; return 0; }