#include<stdio.h> int main() { int seconds ; int h, min, miao; scanf("%d", &seconds); h = seconds / 60 / 60; min = seconds / 60 % 60; miao = seconds%60; printf("%d %d %d", h, min, miao);

}