import sequtils,strutils,math var a = stdin.readline.parseInt b = 10 + a / 100 h = b.int m = ((b - h.float) * 60) M = $(round(m).int) if M.len == 1: M = "0" & M echo h ,":" ,M