n=int(input()) print(f"{10+n//100}:{str(n%100*3//5):0>2}")