#include <stdio.h>
void print_hex(int n){
switch(n){
}
}
void tohex(int n){
if(n<16) print_hex(n);
else {
tohex(n/16);
print_hex(n%16);
}
}
int main(void){
int d;
tohex(d);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIHByaW50X2hleChpbnQgbil7Cglzd2l0Y2gobil7CgkJY2FzZSAxMDpwcmludGYoIkEiKTsgYnJlYWs7CgkJY2FzZSAxMTpwcmludGYoIkIiKTsgYnJlYWs7CgkJY2FzZSAxMjpwcmludGYoIkMiKTsgYnJlYWs7CgkJY2FzZSAxMzpwcmludGYoIkQiKTsgYnJlYWs7CgkJY2FzZSAxNDpwcmludGYoIkUiKTsgYnJlYWs7CgkJY2FzZSAxNTpwcmludGYoIkYiKTsgYnJlYWs7CgkJZGVmYXVsdDogcHJpbnRmKCIlZCIsbik7CgkJCgl9Cn0KCnZvaWQgdG9oZXgoaW50IG4pewoJaWYobjwxNikgcHJpbnRfaGV4KG4pOwoJZWxzZSB7CgkJdG9oZXgobi8xNik7CgkJcHJpbnRfaGV4KG4lMTYpOwoJfQp9CgppbnQgbWFpbih2b2lkKXsKCWludCBkOwoJc2NhbmYoIiVkIiwmZCk7Cgl0b2hleChkKTsKCXByaW50ZigiXG4iKTsKCSByZXR1cm4gMDsKfQ==