exec"a,b,c=map(int,raw_input().split(':'));print((':%02d'*3)[1:]%(23-a,59-b+0**c,-c%60));"*input()
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page