#include <iostream> using namespace std; int main() { int n = 0,b = 0,c = 0,d = 0; cin >> n; while(n != 0) { b = n % 2; n = n / 2; cout << b; } return 0; }