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