a=int(input()) print(f"{10+a//100}:{int(a%100/1.66):02}")