import java.util.Scanner; |
public class Main |
{ |
public static void main(String[] args) |
{ |
Scanner x = new Scanner(System.in); //构造一个SCANNER对象,其传入参数为SYSTEM.IN |
int n = x.nextInt(); //读取一个INT数值 |
String str = "" ; |
while (n!= 0 ) |
{ |
str = n% 2 +str; |
n = n/ 2 ; |
} |
System.out.println(str); |
} |
} |