fork download
  1. # your code goes here
  2. n=int(input())
  3. h=(n//3600)%24
  4. m=(n//60)%60
  5. s=n%60
  6. print(h,f"{m:02}",f"{s:02}",sep=':')
Success #stdin #stdout 0.07s 14168KB
stdin
3609
stdout
1:00:09