#include<iostream> using namespace std; int main(){ int a[50],n,c; while(cin>>n){ c=0; while(n>0){ a[c]=n%2; c++; n/=2; } for(int i=c-1;i>=0;i--){ cout<<a[i]; } cout<<endl; } }
ijj