#include <stdio.h>void f(int n){ if(n==0) { printf("%d",0);return ; } if(n/2==0) { printf("%d",1);return ; } f(n/2); printf("%d",n%2);}int main(){ int n; scanf("%d",&n); f(n);}