a = int(input()) x = (a%100)*1006//10 if x == 0: xx = "0000" else: xx = str(x) y = a//100 print(str(10+y)+":"+xx[2:])