void printBin( long long var ) { int i; for (i=11; i>=0; i--) printf("%d", (var >> i) & 1); putchar('\n'); }