//求时分秒
int main()
{
int seconds, points, hour;
scanf("%d", &seconds);
hour = seconds / 3600;
points = seconds % 3600 / 60;//对3600取余数的到分钟对应的描述,再用除法,得到整分钟数
seconds = seconds % 3600 % 60;//对3600取余,得到分钟数,再对60取余,得到秒数
printf("%d %d %d", hour, points, seconds);
}
int main() {
int sec = 0;
int a, b, c;
scanf("%d", &sec);
a = sec / 3600;
b = (sec - a * 3600) / 60;
c = sec % 60;
printf("%d %d %d", a, b, c);
return 0;
}