#include /* HEX standard input to standard output */ main() { short c; short hi, low; while ( (c=getchar())!=EOF ) { hi=c/16;low=c-16*hi; if(hi>9) putchar('A'+hi-10); else putchar(hi+'0'); if(low>9) putchar(low+'A'-10); else putchar(low+'0'); } putchar('\n'); }