//从键盘输入从某日午夜零点到现在已经经历的时间(时间为秒),编一程序计算到现在为止已过了多少天,现在的时间是多少
#include <stdio.h>
void main()
{
int seconds;
scanf("%d",&seconds);
int day = seconds/(24*3600);
printf("day = %d\n",day);
int t = seconds % (24*3600);
int hour = t/ 3600;
int min = t % 3600 / 60;
int second = t % 3600 % 60;
printf("%d:%d:%d\n",hour,min,second);
}