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