#include<cstdio>
#include<iostream>
#include<cmath>
#include<cstring>
#include<string>
#include<ctime>
using namespace std;
int main()
{
int C1,C2;
scanf("%d%d",&C1,&C2);
int t=(C2-C1)/100;
if((C2-C1)%100>=50) t++;
int hh,mm,ss;
hh=t/3600;
t%=3600;
mm=t/60;
t%=60;
ss=t;
printf("%02d:%02d:%02d\n",hh,mm,ss);
return 0;
}
注意四舍五入就完事了