#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int ss,mm,hh;
printf("Enter time in second ::");
scanf("%d%d%d",&hh,&mm,&ss);
hh=ss/3600;
ss=ss%3600;
mm=ss/60;
ss=ss%60;
scanf("%d%d%d",hh,mm,ss);
getch();
}