z=int(input("enter a number of seconds: ")) x=z c=0 v=0 while x > 60: x=x-60 c=c+1 while c > 60: c=c-60 v=v+1 print(z," seconds is:", v,"h", c,"m", x,"s")