import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long n=scan.nextLong(); char c='a'; StringBuilder sb=new StringBuilder(); int h=-1; for(int i=30;i>=0;--i){ if(1L<n){continue;} h=i;break; } for(int i=h-1;i>=0;--i){ //2bai sb.append(c); //+1 if((n&1<