#32765: ___.


yp11051077@yphs.tp.edu.tw (908-26周椲宸)


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