
import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    }
}
 import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    } main {
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x=sc.nextInt(); x sc.nextInt() sc.nextInt sc int h=x/60/60; h x/60/60 x/60/60 x 60 60 int m=x/60%60; m x/60%60 x/60 x 60 60 int s=x%60; s x%60 x 60 System.out.printf("%d:%d:%d\n",h,m,s) System.out.printf System.out System System.out "%d:%d:%d\n" h m s String[] args args public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    }
} public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    }
} Main

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int x=sc.nextInt();
        int h=x/60/60;
        int m=x/60%60;
        int s=x%60;
        System.out.printf("%d:%d:%d\n",h,m,s);
    }
}

