while 1:l=iter(eval(input().translate({58:"%12*60+9",97:"+720",112:""})));print("%d:%02d"%divmod(sum((next(l)-x)%1440for x in l),60))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page