#include <bits/stdc++.h> using namespace std; int n; int main(){ scanf("%d",&n); bitset <32> s(n); cout << s << endl; return 0; }