try: from icecream import ic except: pass def minuteToTime(n): return f"{str(n//60).zfill(2)}:{str(n%60).zfill(2)}" def main(): a=int(input()) print(minuteToTime(60*10+a*60//100)) if __name__=="__main__": main()