#include <stdio.h>
void print_binary(int number)
{
if (number) {
print_binary(number >> 1);
putc((number
& 1) ? '1' : '0', stdout
); }
}
int main(void) {
print_binary(42);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHByaW50X2JpbmFyeShpbnQgbnVtYmVyKQp7CiAgICBpZiAobnVtYmVyKSB7CiAgICAgICAgcHJpbnRfYmluYXJ5KG51bWJlciA+PiAxKTsKICAgICAgICBwdXRjKChudW1iZXIgJiAxKSA/ICcxJyA6ICcwJywgc3Rkb3V0KTsKICAgIH0KfQoKaW50IG1haW4odm9pZCkgewoJcHJpbnRfYmluYXJ5KDQyKTsKCXJldHVybiAwOwp9Cg==