import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int number = sc.nextInt();
int hour, minute, second;
hour = number/3600;
minute = number/60;
second = number-(number/60)*60;
System.out.println(hour+" "+minute+" "+second);
}
}
IDEA에서는 값이 잘 나오고 에러도 안나는데 왜 WA가 뜨나요...?