#include <iostream> using namespace std; int main() { unsigned int a; while(cin>>a) { string s; while(a) { char c; c=a%2+'0'; s=c+s; a=a/2; } cout<<s<<endl; } return 0; }
#include <iostream> using namespace std; int main() { unsigned int a; while(cin>>a) { string s; while(a) { char c; c=a%2+'0'; s=c+s; a=a/2; } cout<<s<<endl; } return 0; }