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