while""do r=io.read()h,m,s,i,n,t=r:match(("(.%d).*"):rep(6))print(r..os.date("!=%T",60*(m+n+60*(h+i))+s+t))end