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



Sample input:
46979


Sample output:
13:2:59

Submission status: Runtime Error

Solution code:
i = int(input())

if i/3600 != 0:
    h = i/3600
    i = i - 3600 * h
if i/60 != 0:
    m = i/3600
    i = i - 60 * m

print(h,":",m,":",a)

Submission status: Runtime Error

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 != 0:
    h = i/3600
    i = i - 3600 * h
if i/60 != 0:
    m = i/3600
    i = i - 60 * m

print(h,":",m,":",a)

Submission status: Runtime Error

Solution code:
i = int(input())

h = 0
m = 0

if i/3600 > 1:
    h = int(i/3600)
    i = i - 3600 * h
if i/60 > 1:
    m = int(i/60)
    i = i - 60 * m
    
s = h + ":" + m + ":" + i

print(s)

Submission status: Runtime Error

Solution code:
S = double(input())

h = S / 3600
m = (S % 3600) / 60
s = (S % 3600) % 60

print(h,":",m,":",s)

Submission status: Runtime Error

Solution code:
x = int(input())

h = x // 3600
m = x % 3600 // 60
s = x  % 60

print(h,m,s,sep=':")

Submission status: Runtime Error

Solution code:
x = int( input() )
print(x//3600+":"+(x%3600)//60+":"+x%60)

Submission status: Runtime Error

Solution code:
x = int(input())
print(x//3600+":"+(x//60)%60+":"+(x%60))

Submission status: Runtime Error

Solution code:
s=input()
print (s/3600 : s/60%60 : s%60)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
s = S%60
m = (S - 3600*h - s)//60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S = int(input())
print(S//3600, S//60%60, S%60, sep":")

Submission status: Runtime Error

Solution code:
s =int(input())
int h = s/3600
int m = (s/60)%60
int sec = s%60
print(h:m:sec)

Submission status: Runtime Error

Solution code:
s =int(input())
int h = s/3600
int m = (s/60)%60
int sec = s%60
print("h:m:sec")

Submission status: Runtime Error

Solution code:
s = input()
a, b = divmod(s, 60)
h, m = divmod(a, 60)

print("{02d}:{02d}:{02d}".format(h, m, b))

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main()
{

    int s;
    scanf("%d", &s);
    int a = int(s / 60);
    int b = int(a / 60);
    int c = int(b / 60);
    printf("%d:%d:%d\n", a, b, c);
    return 0;
}

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main()
{

    int s;
    scanf("%d", &s);
    int a = static_cast<int>(s / 60);
    int b = static_cast<int>(a / 60);
    int c = static_cast<int>(b / 60);
    printf("%d:%d:%d\n", a, b, c);
    return 0;
}

Submission status: Runtime Error

Solution code:
#include <stdio.h>

int main()
{
    int s;
    scanf("%d", &s);
    double a = s / 3600;
    double b = a / 60;
    double c = b / 60;
    printf("%d:%d:%d\n", int(a), int(b), int(c));
    return 0;
}

Submission status: Runtime Error

Solution code:
S=int(input())
print(S//3600,S//60%60,S//60 ,sep":")

Submission status: Runtime Error

Solution code:
seconds = int(input())
print(":".join(seconds/60/24,seconds/60%24, seconds%60))

Submission status: Runtime Error

Solution code:
seconds = int(input())
print(":".join([seconds/60/24,seconds/60%24, seconds%60]))

Submission status: Runtime Error

Solution code:
x=input()
print(x/3600,x%3600/60,x%3600%60,sep=":")

Submission status: Runtime Error

Solution code:
S=map(int,input())
h=(int)(S/3600)
m=(int)(S%3600/60)
s=(int)(S%3600%60)
print(f"{h}:{m}:{s}")

Submission status: Runtime Error

Solution code:
S=map(int,input())
h=(int)S/3600
m=(int)S%3600/60
s=(int)S%3600%60
print(f"{h}:{m}:{s}")

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8

X = input()

H = X // 3600

M = (X - H*3600) // 60

S = (X - H*3600) % 60

print('%s:%d:%m' % (H,M,S))

Submission status: Runtime Error

Solution code:
S = int(input())
h = int(a/3600)
m = int( (S - h*3600)/60 )
s = int( (S - h*3600 - m*60)/60 )

print("%d:%d:%d", %(h, m, s))

Submission status: Runtime Error

Solution code:
S = int(input())
h = int(a/3600)
m = int( (S - h*3600)/60 )
s = int(S - h*3600 - m*60)

print("%d:%d:%d", %(h, m, s))

Submission status: Runtime Error

Solution code:
S = int(input())
h = int(a/3600)
l = S - h*3600
m = int( l/60 )
s = int(l - m*60)

print("%d:%d:%d", %(h, m, s))

Submission status: Runtime Error

Solution code:
S = int(input())
h = int(S/3600)
l = S - h*3600
m = int( l/60 )
s = int(l - m*60)

print("%d:%d:%d", %(h, m, s))

Submission status: Runtime Error

Solution code:
a = input()
h = int(a/3600)
b = a - h*3600
m = int(b/60)
c = b - m*60
print(h + ":"+ m + ":" + c)

Submission status: Runtime Error

Solution code:
a = input()
print(a//3600, a//60%60, x%60, sep=":")

Submission status: Runtime Error

Solution code:
 S = input()
 h = S / 3600
 m = (S % 3600) / 60
 s = (S % 3600) % 60)
 print(str(int(h)) + ':' + str(int(m)) + ':' + str(s))

Submission status: Runtime Error

Solution code:
s = input()
m = s/60
h = m/60
print (h, :, m, :, s)

Submission status: Runtime Error

Solution code:
s = input()
s = int(s)
int h = 0
int m = 0
int ss = 0
while(s >= 3600){
s -= 3600;
h++
}
while(s >= 60){
s -= 60;
m++
}
ss = s;
print (h, :, m, :, s)

Submission status: Runtime Error

Solution code:
int main(){
    int s;
    int h,m,g;
    scanf("%d",&in);

    h = s / 3600;
    s %= 3600;

    m = s / 60;
    s %= 60;

    g = s;

    printf("%d:%d:%d\n",h,m,g);
}

Submission status: Runtime Error

Solution code:
t = input()
h = t // 3600
m = (t % 3600) // 60
s = t % 60
print("%d:%d:%d" % (h, m, s))

Submission status: Runtime Error

Solution code:
S=int(input())
h = s//3600
m = (s-h*3600)//60
s = (S-(h*3600)-(m*60))
print (str(h)+":"+str(m)+":"+str(s))

Submission status: Runtime Error

Solution code:
S=int(input())
h = s//3600
m = (s-h*3600)//60
s = (S-(h*3600)-(m*60))
print (h,m,s,sep=":")

Submission status: Runtime Error

Solution code:
sec=int(input())
h=inr(sec/3600)
m=int((sec-(3600*h))/60)
s=int(sec-(3600*h)-(60*m))
print("{0}:{1}:{2}".format(h,m,s))

Submission status: Runtime Error

Solution code:
S = int(input())
h = S // 3600
m = S // 60 -S // 3600
s = S // 60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S // 3600
m = S // 60 -S // 3600
s = S // 60
print(h":"m":"s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
s = S//60
print(h,:,m,:,s)

Submission status: Runtime Error

Solution code:
S = int(input())

h = S//3600
m = (S//60)-(S//3600)
s = S//60

print(h,:,m,:,s)

Submission status: Runtime Error

Solution code:
S = int(input())

h = S//3600
m = (S//60)-(S//3600)
s = S//60
p = h:m:s
print(p)

Submission status: Runtime Error

Solution code:
S = int(input())

h = S//3600
m = (S//60)-(S//3600)
s = S//60
print(h':'m':'s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
s = S//60
print(h':'m':'s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
s = S//60
print(h':'m':'s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
s = S//60
print(h:m:s)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
a = str(h)
b = str(m)
c = str(s)
print(a:b:c)

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-(S//3600)
a = str(h)
b = str(m)
c = str(s)
print("a:b:c")

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-60*(S//3600)
s = S//60
a = str(h)
b = str(m)
c = str(s)
print("a":"b":"c")

Submission status: Runtime Error

Solution code:
S = int(input())
h = S//3600
m = (S//60)-60*(S//3600)
s = S//60
print('{}:{}:{}'.format(him,s))

Submission status: Runtime Error

Solution code:
second = input()

second = (int)second
h = second // 3600
m = (second % 3600) // 60
s = (second % 3600) % 60
print("{0:02}:{1:02}:{2:02}".format(h,m,s))

Submission status: WA: Presentation Error

Solution code:
def time(s):
    h = s // 3600
    s = s - h * 3600

    m = s // 60
    s = s - m * 60
    return h, m, s

def main():
    t = int(input())
    h, m, s = time(t)
    print(h,':',m,':',s)


main()

Submission status: WA: Presentation Error

Solution code:
x = int(input())

import math

h = math.floor(x/3600)
m = math.floor((x -h*3600)/60)
s = math.floor(x - h*3600 - m*60)
print(h, ':',m , ':', s)

Submission status: WA: Presentation Error

Solution code:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep=' ')

Submission status: WA: Presentation Error

Solution code:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, end="")

Submission status: WA: Presentation Error

Solution code:
sec = int(input())
print(sec//3600, ':', (sec%3600)//60, ':', sec%60, sep = ' ')

Submission status: WA: Presentation Error

Solution code:
s = input()
s = int(s)
h = s//3600
s = s - 3600*h
m = s//60
s = s - 60*m
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
s = int(input())
print(s//3600,":",(s%3600)//60,":",s%60)

Submission status: WA: Presentation Error

Solution code:
s = int(input())
print(s//3600, ':',(s%3600)//60, ':', s%60)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=int(S//3600)
m=int((S-(h*3600))/60)
s=int(S-(h*3600+m*60))
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = int(S/3600)
m = int((S - h*3600)/60)
s = int(S - h*3600 -m*60)
print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
s = input()
S = int(s)
a = S/(60*60)
b = (S-(int(a))*60*60)/60
c = S-(int(a)*60*60 + int(b)*60)
print(int(a), ":", int(b), ":", int(c))

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = int(S/3600)
m = int((S - h*3600)/60)
s = int(S - h*3600 -m*60)
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S=input()
n=int(S)
h=int(n/(60*60))
m=int((n-60*60*h)/60)
s=int(n-(60*60*h+60*m))
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
s=input()
a=int(s)
h=a//3600
m=(a%360)//60
b=a%60
print(h,':',m,':',b)

Submission status: WA: Presentation Error

Solution code:
s = input()
S = int(s)
a = S//(60*60)
b = (S-(a*60*60))//60
c = S-(a*60*60 + b*60)
print(a, ':', b, ':', c, sep=' ')

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=S%3600 // 60
s=S%60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
s = int(input())

h = s // 3600
m = ( s % 3600 ) // 60
s2 =  s % 60

print(h,':',m,':',s2)

Submission status: WA: Presentation Error

Solution code:
S = int(input())

h = S//3600
m = (S%3600) // 60
s = S % 60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - h*3600)//60
s = S - h*3600 - m*60

print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
n = int(input())

h = n//3600
m = (n%3600)//60
s = n%60

print(h,':',m, ':',s)

Submission status: WA: Presentation Error

Solution code:
s, S = divmod(input(), 60)
H, M = divmod(s, 60)

print '%d:%d:%d\n' %(H,M,S)

Submission status: WA: Presentation Error

Solution code:
#coding utf-8
x=int(input())
h=int(x/3600)
m=int(x%3600/60)
s=int(x%60)
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = input()
h=S/3600
m=S%3600/60
s=S%3600%60
print h,":",m,":",s

Submission status: WA: Presentation Error

Solution code:
if __name__ == "__main__":
	s = int(input())
	m = s // 60
	h = m // 60
	m = m % 60
	s = s % 60

	print(h,":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
S=int(raw_input())
h=int(S/3600)
m=(S/60-h*60)
s=(S-h*3600-m*60)
print h,":",m,":",s

Submission status: WA: Presentation Error

Solution code:
S = input()
h = S // 3600
m = S % 3600 //60
s = S % 3600 % 60
print h, ':', m, ':', s

Submission status: WA: Presentation Error

Solution code:
s=int(raw_input())
h=s/3600
m=(s-3600*h)/60
print h,':',m,':',s-3600*h-60*m

Submission status: WA: Presentation Error

Solution code:
S=input()
h=S//3600	
s=S%3600
m=s//60
s=s%60
print h,':',m,':',s

Submission status: WA: Presentation Error

Solution code:
x = int(raw_input())
h = x / 3600
m = (x % 3600) / 60 
s = x % 60
print h,':',m,':',s

Submission status: WA: Presentation Error

Solution code:
S = raw_input()
S = int(S)
h = S / 3600
m = (S - h * 3600) / 60
s = S - 3600 * h - 60 * m
print h , ':' , m , ':' , s

Submission status: WA: Presentation Error

Solution code:
S = raw_input()
S = int(S)
h = S / 3600
m = (S - h * 3600) / 60
s = S - 3600 * h - 60 * m
print h,
print ':',
print m,
print ':',
print s

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S-(h*3600))//60
s=(S-(h*3600))%60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
s = input()

h = s/3600
m = s%3600/60
s = s%3600%60

print h,":", m,":",s

Submission status: WA: Presentation Error

Solution code:
S = input()
s = S%60
m1 = (S-s)/60
m = m1%60
h = (m1-m)/60
print h,":",m,":",s

Submission status: WA: Presentation Error

Solution code:
s = input()
s = int(s)
hour = s // 3600
minute = (s - hour * 3600) // 60
sec = (s - hour * 3600) % 60
print(hour, ":", minute, ":", sec)

Submission status: WA: Presentation Error

Solution code:
import sys

num = map(int,raw_input().split())

h = num[0]/3600
m = (num[0] - (3600 * h)) / 60
s = (num[0] - (3600 * h + (60 * m)))
print h,":",m,":",s

Submission status: WA: Presentation Error

Solution code:
import sys

num = map(int,raw_input().split())

h = num[0]/3600
m = (num[0] - (3600 * h)) / 60
s = (num[0] - (3600 * h + (60 * m)))
print h,":",m,":",s,

Submission status: WA: Presentation Error

Solution code:
import math
S = int(input())

h = math.floor(S/3600)
m = math.floor((S - h*3600)/60)
s = S - h*3600 - m*60

print(h,end="")
print(":",end="")
print(m,end="")
print(":",end="")
print(s,end="")

Submission status: WA: Presentation Error

Solution code:
S = int(input())
Ss = S % 60
Sm = ((S - Ss) // 60) % 60
Sh = ((S - Ss) // 60) // 60
print(Sh,':',Sm,':',Ss)

Submission status: WA: Presentation Error

Solution code:
#I=input()
I=46979
s=I%60
a=(I-s)/60
#a:zikanwofundearawasita
m=a%60
b=a-m
h=b/60
print h,
print ":",
print  m,
print  ":",
print  s

Submission status: WA: Presentation Error

Solution code:
s=int(input())
print(s//3600,':',(s%3600)//60,':',s%60)

Submission status: WA: Presentation Error

Solution code:
S = input()
h = int(S) // 3600
HA = int(S) - h * 3600
m = HA // 60
MA = HA - m * 60
s = MA % 60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
s = input()
sec = int(s)
if(sec < 86400):
    if(sec > 0):
        hour = int(sec / 3600)
        sec = sec - 3600 * hour
        min = int(sec / 60)
        sec = sec - min * 60
        print(hour,":",min,":",sec)

Submission status: WA: Presentation Error

Solution code:
import sys
s = input()
sec = int(s)
if(sec < 86400):
    if(sec > 0):
        hour = int(sec / 3600)
        sec = sec - 3600 * hour
        min = int(sec / 60)
        sec = sec - min * 60
        sys.stdout.write(str(hour))
        sys.stdout.write(":")
        sys.stdout.write(str(min))
        sys.stdout.write(":")
        sys.stdout.write(str(sec))

Submission status: WA: Presentation Error

Solution code:
import sys
S = input()
sec = int(S)
if(sec < 86400):
    if(sec > 0):
        h = int(sec / 3600)
        sec = sec - h * 3600
        m = int(sec / 60)
        s = sec - m * 60
        sys.stdout.write(str(h))
        sys.stdout.write(":")
        sys.stdout.write(str(m))
        sys.stdout.write(":")
        sys.stdout.write(str(s))

Submission status: WA: Presentation Error

Solution code:
import sys
S = input()
sec = int(S)
if(sec < 86400):
    if(sec >= 0):
        h = int(sec / 3600)
        sec = sec - h * 3600
        m = int(sec / 60)
        s = sec - m * 60
        sys.stdout.write(str(h))
        sys.stdout.write(":")
        sys.stdout.write(str(m))
        sys.stdout.write(":")
        sys.stdout.write(str(s))

Submission status: WA: Presentation Error

Solution code:
import sys
S = input()
sec = int(S)
if(sec < 86400):
    if(sec >= 0):
        h = int(sec / 3600)
        sec = sec % 3600
        m = int(sec / 60)
        s = sec % 60
        sys.stdout.write(str(h))
        sys.stdout.write(":")
        sys.stdout.write(str(m))
        sys.stdout.write(":")
        sys.stdout.write(str(s))

Submission status: WA: Presentation Error

Solution code:
import sys
S = input()
sec = int(S)
if(sec < 86400):
    if(sec >= 0):
        h = int(sec / 3600)
        sec = sec % 3600
        m = int(sec / 60)
        s = sec % 60
        print(h,end="")
        print(":",end="")
        print(m,end="")
        print(":",end="")
        print(s,end="")

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S//3600
m = (S-3600*h)//60
s = S-3600*h-60*m
print(h,':',m,":",s)

Submission status: WA: Presentation Error

Solution code:
i = int(input())
a = i / 3600
b = i % 3600
c = b / 60
d = b % 60
print(int(a),":",int(c),":",int(d))

Submission status: WA: Presentation Error

Solution code:
x = int(input())
print(x//3600,':',x%3600//60,':',x%3600%60)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - S // 3600 * 3600) // 60
s = (S - S // 3600 * 3600) - m * 60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - S // 3600 * 3600) // 60
s = (S - S // 3600 * 3600) - m * 60
print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
S =int(input())
h = int(S / 3600)
m = int((S - h*3600)/60)
s = int(S -(h*3600+m*60))

print(h,':',m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - S // 3600 * 3600) // 60
s = (S - S // 3600 * 3600) - m * 60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - S // 3600 * 3600) // 60
s = S - S // 3600 * 3600 - m * 60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
s = S % 60
m = S // 60 % 60
h = S // 3600
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s ,)
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: WA: Presentation Error

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s )
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = S % 3600 // 60
s = S % 3600 - m * 60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s,"",)
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: WA: Presentation Error

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s,"")
#print("{a}:{b}:{c}".format(h,m,s))

Submission status: WA: Presentation Error

Solution code:
S = int(input())

s = S % 60
m = S // 60 % 60
h = S // 60 // 60
print(h,':',m,":",s,"")

Submission status: WA: Presentation Error

Solution code:
S = int(input())
print(S // 3600 ,":",S % 3600// 60,":",S % 60)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
print(S // 3600,":",S % 3600// 60,":",S % 60)

Submission status: WA: Presentation Error

Solution code:
a=int(input())
b=a%3600
c=a//3600
d=b%60
e=b//60
print(c,":",e,":",d)

Submission status: WA: Presentation Error

Solution code:
S = input()

s = S%60
h = S/3600
m = (S-h*3600)/60

print h,
print ':',
print m,
print ':',
print s

Submission status: WA: Presentation Error

Solution code:
a=int(input())
h=int(a/3600)
m=int(a%3600/60)
s=int(a%3600%60)
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
a=int(input())

h=int(a/3600)

m=int(a%3600/60)

s=int(a%3600%60)

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
a=int(input())

h=int(a/3600)
m=int(a%3600/60)
s=int(a%3600%60)

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
a = int(input())

h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)

print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
a = int(input())

h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)

print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
a = int(input())
h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)
print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
a = int(input())
h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)
print( h, ':', m, ':', s )

Submission status: WA: Presentation Error

Solution code:
a = int(input())
h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)
print (h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
a = int(input())
h = int(a / 3600)
m = int(a % 3600 / 60)
s = int(a % 3600 % 60)

print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
s=int(raw_input())
h=s/3600
m=s/60%60
s=s%60
print h,":",m,":",s

Submission status: WA: Presentation Error

Solution code:
S=int(input())
s=S%60
m=S//60%60
h=S//60//60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = int(S // 3600)
m = int((S - h*3600)// 60 )
s = int(S - (h*3600+m*60))

print(h,':',m, ':',s )

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S - h * 3600) // 60
s = S - h * 3600 - m * 60
print(h,":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
s = n % 60
n = n // 60
m = n % 60
h = n // 60
print("%2d:%2d:%2d" % (h, m, s))

Submission status: WA: Presentation Error

Solution code:
s_initial = int(input())

h = s_initial//3600
s_temp = s_initial-h*3600
m = s_temp//60
s = s_temp-m*60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
s =int(input())

h=s//3600
s-=h*3600
m=s//60
s-=m*60

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
x = int(input())
a = x // 3600
b = x // 60 %60
c = x % 60

print(a,':',b,':',c)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 60**2
S = S % 60**2
m = S // 60
S = S % 60
s = S
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S-h*3600)//60
s=S-h*3600-m*60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
amari = S%3600
s = amari % 60
h = S//3600
m = amari//60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S/3600
m=(S%3600)/60
s=(S%3600)%60
print(int(h),':',int(m),':',int(s))

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S/3600
m=(S%3600)/60
s=(S%3600)%60
print(int(h),":",int(m),":",int(s))
print()

Submission status: WA: Presentation Error

Solution code:
input_data = int(raw_input())

hour = input_data / 3600
minute = (input_data - hour * 3600) / 60
second = input_data % 60
print hour,":",minute,":",second

Submission status: WA: Presentation Error

Solution code:

a = int(input())
h = int(a / 3600)
m = int((a % 3600) / 60)
s = int((a % 3600) % 60)

print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
s=int(input())
h=s//3600
m=s%3600//60
s=s%3600%60
print(h,m,s,sep=":",end="")

Submission status: WA: Presentation Error

Solution code:
s = input()
S = int(s)
h=S//3600
m=S%3600//60
s=S-(h*3600+m*60)
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
x = int(input())
print(int(x/3600),":",int((x%3600)/60),":",x%60)

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s //3600,':',s//60%60,':',s%60)

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s//3600,':',s//60%60,':',s%60,end="")

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s//3600,':',(s//60)%60,':',s%60,end="")

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s//3600,':',(s//60)%60,':',s%60)

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s//3600,':',(s//60)%60,':',s%60 )

Submission status: WA: Presentation Error

Solution code:
s = int(input())

print(s//3600,':',(s//60)%60,':',s%60, end="")

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = S // 60 % 60
s = S %60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:

x = int(input())
h = x //3600
m = (x-h*3600)//60
s = x-h*3600-m*60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
x=int(raw_input())
aa=int(x/360*0.1)
ab=int(x%360/60)
ac=x%60
import sys
sys.stdout.write(str(aa)+':')
sys.stdout.write(str(ab)+':')
sys.stdout.write(str(ac))

Submission status: WA: Presentation Error

Solution code:
x=int(raw_input())
aa=int(x/360*0.1)
ab=int(x%360/60)
ac=x%60
import sys
sys.stdout.write(str(aa)+':'+str(ab)+':'+str(ac))

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=int(S/3600)
m=int((S-h*3600)/60)
s=int(S-h*3600-m*60)

print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
list = [0] * 4
a = int(input())
list[0] = a/3600
a_p = a%3600
list[1] = a_p/60
list[2] = a_p%60
print list[0],":",list[1],":",list[2]

Submission status: WA: Presentation Error

Solution code:
list = [0] * 4
a = int(input())
list[0] = a/3600
a_p = a%3600
list[1] = a_p/60
list[2] = a_p%60
print list[0 ],":",list[1] ,":",list[2]

Submission status: WA: Presentation Error

Solution code:
a=input()
b=a/3600
d=a%60
c=(a-b*3600-d)/60

print b,":",c,":",d

Submission status: WA: Presentation Error

Solution code:
s=input()
if 0<=s<=86400:
    a=s/3600
    c=s%60
    b=(s-a*3600-c)/60
    print a,":",b,":",c
else:
    pass

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S-h*3600)//60
s=S-h*3600-m*60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
sec = int(input())

h = int(sec / 3600)
sec %= 3600

m = int(sec / 60)
sec %= 60

s = sec

print(h, ':', m, ':', s)

Submission status: WA: Presentation Error

Solution code:
S = int(raw_input())

if( (0<=S)and(S<86400) ):
	h = S/3600
	m = (S - h*3600)/60
	s = S - h*3600 - m*60

	print h, ':', m, ':', s

Submission status: WA: Presentation Error

Solution code:
S = int(raw_input())

h = S/3600
m = (S - h*3600)/60
s = S - h*3600 - m*60

print h, ':', m, ':', s

Submission status: WA: Presentation Error

Solution code:
in_sec = int(input())

sec = in_sec % 60
min = (in_sec // 60) % 60
hour = (in_sec // 3600 )

print(hour,":",min,":",sec)

Submission status: WA: Presentation Error

Solution code:
seconds=int(input())
hour, amari = divmod(seconds,3600)
minute, second = divmod(amari,60)

print(hour,":",minute,":",second)

Submission status: WA: Presentation Error

Solution code:
time = int(input())

hour = time // 3600
minute = (time % 3600) // 60
second = (time % 3600) % 60

print(hour,":", minute, ":", second)

Submission status: WA: Presentation Error

Solution code:
time = int(input())

hour = time // 3600
minute = (time % 3600) // 60
second = (time % 3600) % 60


print(hour,":", minute, ":", second)

Submission status: WA: Presentation Error

Solution code:
s = int(input())
h = int(s/3600)
m = int(s%3600/60)
s2 = int(s%3600%60)
print(h,":",m,":",s2)

Submission status: WA: Presentation Error

Solution code:
t = int(input())
h = t // 3600
m = (t % 3600) // 60
s = t-3600*h-m*60
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S % 3600) // 60
s = S-3600*h-60*m
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = int(S / 3600)
m = int((S % 3600) // 60)
s = S-3600*h-60*m
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = int(S / 3600)
m = int((S % 3600) / 60)
s = S-3600*h-60*m
print(h, ":", m, ":", s)

Submission status: WA: Presentation Error

Solution code:
import math
S = int(input())
h = math.floor(S/3600)
m = math.floor((S - h*3600)/60) 
s = (S - (h*3600 + m*60))%60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
print(S//3600,':',S%3600//60,':',S%3600%60)

Submission status: WA: Presentation Error

Solution code:
a=int(input())
h=int(int(a)/3600)
b=int((int(a)-h*3600)/60)
s=int((int(a)-h*3600-b*60))
print(h,':',b,':',s)

Submission status: WA: Presentation Error

Solution code:
def main():
    S = int(input())
    h = S // 3600
    S %= 3600
    m = S // 60
    S %= 60
    s = S
    print(h,end = "")
    print(":",end = "")
    print(m,end = "")
    print(":",end = "")
    print(s,end = "")

if __name__ == "__main__":
    main()

Submission status: WA: Presentation Error

Solution code:
a = input()
x=int(a)
h=int(x/3600)
m=int((x-h*3600)/60)
s=x-h*3600-m*60
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
sum = int(input())
hour = sum//(60*60)
min = (sum-hour*60*60)//60
sec = sum%60
print(hour,":",min,":",sec)

Submission status: WA: Presentation Error

Solution code:
S = input()
S = int(S)
 
h = S//3600
S = S - h * 3600
m = S // 60
s = S - m * 60
 
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
#coding: UTF-8

s=int(input())
h=int(s/3600)
m=int((s%3600)/60)
s=(s%3600)%60
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
s=int(input())
h=int(s/3600)
m=int((s%3600)/60)
ss=(s%3600)%60
print(h,':',m,':',ss)

Submission status: WA: Presentation Error

Solution code:
seconds = int(input())

h = int(seconds/3600)
m = int((seconds-h*3600)/60)
s = seconds-h*3600-m*60


print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
int_input = int(input())
print(int_input//(60*60),":",(int_input//60)%60,":",int_input%60)

Submission status: WA: Presentation Error

Solution code:
int_input = int(input())
print(str(int_input//(60*60)),":",str((int_input//60)%60),":",str(int_input%60))

Submission status: WA: Presentation Error

Solution code:
int_input = int(input())
print(int_input//(60*60),":",(int_input//60)%60,":",int_input%60, end="")

Submission status: WA: Presentation Error

Solution code:
int_input = int(input())
print(int_input//(60*60),":",(int_input//60)%60,":",int_input%60,end="")

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S%3600)//60
s=S-((h*3600)+(m*60))
print(h,':',m,':',s)

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S%3600)//60
s=S-((h*3600)+(m*60))
print(int(h),':',int(m),':',int(s))

Submission status: WA: Presentation Error

Solution code:
S=int(input())
h=S//3600
m=(S%3600)//60
s=S-((h*3600)+(m*60))
print(h,":",m,":",s)

Submission status: WA: Presentation Error

Solution code:
S = int(input())
h = S // 3600
m = (S % 3600) // 60
s = (S % 60) 
print(h,":",m,":",s)