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