import java.util.Scanner;
import static java.lang.System.out;

class Watch {
    public void run() {
        int input = new Scanner( System.in ).nextInt();
        int h = input / 3600;
        int m = input % 3600 / 60;
        int s = input % 60 % 60;

        out.printf( "%d:%d:%d\n", h, m, s);
    }
}

public class Main {
    public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    }
} import java.util.Scanner; Scanner java.util import static java.lang.System.out; import static java.lang.System.out; import static java.lang.System.out; class Watch {
    public void run() {
        int input = new Scanner( System.in ).nextInt();
        int h = input / 3600;
        int m = input % 3600 / 60;
        int s = input % 60 % 60;

        out.printf( "%d:%d:%d\n", h, m, s);
    }
} Watch public void run() {
        int input = new Scanner( System.in ).nextInt();
        int h = input / 3600;
        int m = input % 3600 / 60;
        int s = input % 60 % 60;

        out.printf( "%d:%d:%d\n", h, m, s);
    } run {
        int input = new Scanner( System.in ).nextInt();
        int h = input / 3600;
        int m = input % 3600 / 60;
        int s = input % 60 % 60;

        out.printf( "%d:%d:%d\n", h, m, s);
    } int input = new Scanner( System.in ).nextInt(); input new Scanner( System.in ).nextInt() new Scanner( System.in ).nextInt new Scanner( System.in ) int h = input / 3600; h input / 3600 input 3600 int m = input % 3600 / 60; m input % 3600 / 60 input % 3600 input 3600 60 int s = input % 60 % 60; s input % 60 % 60 input % 60 % 60 input 60 60 out.printf( "%d:%d:%d\n", h, m, s) out.printf out "%d:%d:%d\n" h m s public class Main {
    public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    }
} Main public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    } main {
        Watch test = new Watch();
        test.run();
    } Watch test = new Watch(); test new Watch() test.run() test.run test String... args args public class Main {
    public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    }
} public class Main {
    public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    }
} Main
import java.util.Scanner;
import static java.lang.System.out;

class Watch {
    public void run() {
        int input = new Scanner( System.in ).nextInt();
        int h = input / 3600;
        int m = input % 3600 / 60;
        int s = input % 60 % 60;

        out.printf( "%d:%d:%d\n", h, m, s);
    }
}

public class Main {
    public static void main( String... args) {
        Watch test = new Watch();
        test.run();
    }
}