System.in.eachLine{printf'%X\n',it as int}