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