for(x in m=readline(s=1).split(','))s+=eval(m[x].split("'").join('*12+')) print((s/96|0)+"'"+s/8%12)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page