#include <stdio.h>
int main() {
int i, n, x, s, ld;
s = 0;
while (n >= 1) {
x = n % 2;
s = s * 10 + x;
n = n / 2;
}
while (s != 0) {
ld = s % 10;
s = s / 10;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkgewogICAgaW50IGksIG4sIHgsIHMsIGxkOwogICAgcyA9IDA7CiAgICBzY2FuZigiJWQiLCAmbik7CiAgICB3aGlsZSAobiA+PSAxKSB7CiAgICAgICAgeCA9IG4gJSAyOwogICAgICAgIHMgPSBzICogMTAgKyB4OwogICAgICAgIG4gPSBuIC8gMjsKICAgIH0KICAgIHdoaWxlIChzICE9IDApIHsKICAgICAgICBsZCA9IHMgJSAxMDsKICAgICAgICBwcmludGYoIiVkIiwgbGQpOwogICAgICAgIHMgPSBzIC8gMTA7CiAgICB9CiAgICByZXR1cm4gMDsKfQ==