Time Arithmetic by twobit (no import)

while 1:a=raw_input();b="";q=i=8;exec'q=q/60+int(a[i-2:i])+int(a[i+7:i+9]);b="=:"[i>2]+"%02d"%(q%60%(12*i))+b;i-=3;'*3;print a+b

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top