
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        int hour = Integer.parseInt(strInput)/3600;
        int min = (Integer.parseInt(strInput)%3600)/60;
        int sec = (Integer.parseInt(strInput)%3600)%60;
        System.out.println(hour + ":" + min + ":" + sec);
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        int hour = Integer.parseInt(strInput)/3600;
        int min = (Integer.parseInt(strInput)%3600)/60;
        int sec = (Integer.parseInt(strInput)%3600)%60;
        System.out.println(hour + ":" + min + ":" + sec);
    }
} Main public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        int hour = Integer.parseInt(strInput)/3600;
        int min = (Integer.parseInt(strInput)%3600)/60;
        int sec = (Integer.parseInt(strInput)%3600)%60;
        System.out.println(hour + ":" + min + ":" + sec);
    } main {
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        int hour = Integer.parseInt(strInput)/3600;
        int min = (Integer.parseInt(strInput)%3600)/60;
        int sec = (Integer.parseInt(strInput)%3600)%60;
        System.out.println(hour + ":" + min + ":" + sec);
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) String strInput = input.nextLine(); strInput input.nextLine() input.nextLine input int hour = Integer.parseInt(strInput)/3600; hour Integer.parseInt(strInput)/3600 Integer.parseInt(strInput) Integer.parseInt Integer strInput 3600 int min = (Integer.parseInt(strInput)%3600)/60; min (Integer.parseInt(strInput)%3600)/60 (Integer.parseInt(strInput)%3600) Integer.parseInt(strInput) Integer.parseInt Integer strInput 3600 60 int sec = (Integer.parseInt(strInput)%3600)%60; sec (Integer.parseInt(strInput)%3600)%60 (Integer.parseInt(strInput)%3600) Integer.parseInt(strInput) Integer.parseInt Integer strInput 3600 60 System.out.println(hour + ":" + min + ":" + sec) System.out.println System.out System System.out hour + ":" + min + ":" + sec ":" min hour + ":" + min + ":" + sec hour ":" min ":" sec String[] args args

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String strInput = input.nextLine();
        int hour = Integer.parseInt(strInput)/3600;
        int min = (Integer.parseInt(strInput)%3600)/60;
        int sec = (Integer.parseInt(strInput)%3600)%60;
        System.out.println(hour + ":" + min + ":" + sec);
    }
}
