package test;
import java.util.Scanner;
public class pratice {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in = new Scanner(System.in);
String str = null;
char[] word;
int number = 0;
while (in.hasNext()) {
number = in.nextInt();
System.out.println(Integer.toBinaryString(number));
}
in.close();
}
}