#include <stdio.h>
void main(void)
{
int time, hours, minutes, seconds;
printf("Input seconds: ");
scanf("%d", &time);
hours = time / 3600;
minutes = (time % 3600) / 60;
seconds = ((time % 3600) % 60);
printf("
There are:");
printf("
H:M:S - %d:%d:%d", hours, minutes, seconds);
}