#include int main(void) { int a; int x=10; int b=0; double c=0.0; int d; double v; int t; int t2; scanf("%d",&a); d=(a/100.0)*60+0.5; t=d/60; t2=d%60; printf("%d:%02d\n",x+t,t2); return 0; }