set t 0 foreach s [read stdin] {puts [clock f [expr -$t+[set t [clock sc $s]]] -format $s\ 00:%M:%S]}