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