# Arup Guha
# 6/6/2023
# seconds --> hr/min/sec conversion

# Get the marathon time in seconds.
numSec = int(input("How many seconds did you take to run the marathon?\n"))

# First extract hours.
numHours = numSec//3600

# Subtract out these seconds.
numSec -= (numHours*3600)

# Now, we can extract out the last two items.
numMin = numSec//60
numSec = numSec%60

# Print the time.
print("Your marathon time was", end = " ")
print(numHours,numMin,numSec, sep=":")
