enum H{H;System z;{try{for(int n=15;n!=10;)z.out.write(n<0?n=10:n<<4|(n=z.in.read())>>4&15);}catch(Exception e){}}}