#include <stdio.h>
int main()
{
int Number,Count;
int i,j;
printf("Please input a number: ");
scanf("%d",&Number);
Count=sizeof(Number)*8;
for(i=Count-1; i>=0; i--)
{
j=1<<i;
printf("%d",(j & Number) ? 1 : 0);
}
printf("\n");
return 0;
}