a = str(int(input()) / 100).split(".") print(a) print("{}:{}".format(10 + int(a[0]), str(int(a[1])*6).zfill(2)))