while 1:a=[12*int(x[0])+int(x[2:])for x in input().split(',')];b=-sum(a)//len(a);print("%d'%d"%(-b//12,-b%12))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page