#include <stdio.h>
#include <math.h>
int main() {
	int a = -32768,i,b;
	b = -a; //negation
	// this loop will print the bit contents of b = -a;
	// that is 2's complement representation of a
	for(i = (sizeof(int)<<3) -1;i>=0;i--)
		(b&(1<<i)) ? printf("1"):printf("0");
	printf("\n");
	return 0;
}