include <stdio.h>void func(unsigned n){ if(n<16) printf("0x"); else func(n/16); putchar("0123456789ABCDEF"[n%16]);}int main(){ int n; scanf("%d",&n); func(n); return 0;}