seconds = int(input("Enter a number of seconds:")) m = seconds//60%60 h = seconds//3600%60 s = seconds%60 print(seconds, "seconds is:", str(h) + "h",str(m) + "m",str(s) + "s")