import java.util.Scanner;
class Main{
public static void main(String[] agrs){
Scanner scan=new Scanner(System.in);
String str=scan.next();
int times=Integer.parseInt(str);
int a=times/3600;
times=times%3600;
int b=times/60;
times=times%60;
int c=times;
System.out.println(a+":"+b+":"+c);
}
} import java.util.Scanner; Scanner java.util class Main{
public static void main(String[] agrs){
Scanner scan=new Scanner(System.in);
String str=scan.next();
int times=Integer.parseInt(str);
int a=times/3600;
times=times%3600;
int b=times/60;
times=times%60;
int c=times;
System.out.println(a+":"+b+":"+c);
}
} Main public static void main(String[] agrs){
Scanner scan=new Scanner(System.in);
String str=scan.next();
int times=Integer.parseInt(str);
int a=times/3600;
times=times%3600;
int b=times/60;
times=times%60;
int c=times;
System.out.println(a+":"+b+":"+c);
} main {
Scanner scan=new Scanner(System.in);
String str=scan.next();
int times=Integer.parseInt(str);
int a=times/3600;
times=times%3600;
int b=times/60;
times=times%60;
int c=times;
System.out.println(a+":"+b+":"+c);
} Scanner scan=new Scanner(System.in); scan new Scanner(System.in) String str=scan.next(); str scan.next() scan.next scan int times=Integer.parseInt(str); times Integer.parseInt(str) Integer.parseInt Integer str int a=times/3600; a times/3600 times 3600 times=times%3600 times times%3600 times 3600 int b=times/60; b times/60 times 60 times=times%60 times times%60 times 60 int c=times; c times System.out.println(a+":"+b+":"+c) System.out.println System.out System System.out a+":"+b+":"+c ":" b a+":"+b+":"+c a ":" b ":" c String[] agrs agrs
import java.util.Scanner;
class Main{
public static void main(String[] agrs){
Scanner scan=new Scanner(System.in);
String str=scan.next();
int times=Integer.parseInt(str);
int a=times/3600;
times=times%3600;
int b=times/60;
times=times%60;
int c=times;
System.out.println(a+":"+b+":"+c);
}
}