Time Arithmetic by leonid (no import)

while 1:s=raw_input();a=sum(int(s[x*3:][:2])*60**(~x%3)for x in range(6));print s+'=%02d:%02d:%02d'%(a/3600%24,a/60%60,a%60)

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

download

return top