n = int(input()) print(f"{10+n//100}:{n%100*3//5:02d}")