import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  }

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  }

} Main public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int readS = Integer.parseInt(reader.readLine()); readS Integer.parseInt(reader.readLine()) Integer.parseInt Integer reader.readLine() reader.readLine reader int hour = readS / 3600; hour readS / 3600 readS 3600 readS -= hour * 3600 readS hour * 3600 hour 3600 int minutus = readS / 60; minutus readS / 60 readS 60 readS -= minutus * 60 readS minutus * 60 minutus 60 int second = readS; second readS System.out.println(hour+":"+minutus+":"+second) System.out.println System.out System System.out hour+":"+minutus+":"+second ":" minutus hour+":"+minutus+":"+second hour ":" minutus ":" second String[] args args public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  }

} public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  }

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

  public static void main(String[] args) throws IOException {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    int readS = Integer.parseInt(reader.readLine());
    
    int hour = readS / 3600;
    readS -= hour * 3600;
    int minutus = readS / 60;
    readS -= minutus * 60;
    int second = readS;
    
    System.out.println(hour+":"+minutus+":"+second);
  }

}