import java.util.Scanner;

class Main
{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int second = scan.nextInt();
    System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60);
  }
} import java.util.Scanner; Scanner java.util class Main
{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int second = scan.nextInt();
    System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60);
  }
} Main public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int second = scan.nextInt();
    System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60);
  } main {
    Scanner scan = new Scanner(System.in);
    int second = scan.nextInt();
    System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60);
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int second = scan.nextInt(); second scan.nextInt() scan.nextInt scan System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60) System.out.println System.out System System.out second/3600 +":"+ (second/60%60) +":"+ second%60 ":" (second/60%60) second/3600 +":"+ (second/60%60) +":"+ second%60 second/3600 second 3600 ":" (second/60%60) second/60 second 60 60 ":" second%60 second 60 String[] args args
import java.util.Scanner;

class Main
{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int second = scan.nextInt();
    System.out.println(second/3600 +":"+ (second/60%60) +":"+ second%60);
  }
}