#include int main(){ int a,h,m; scanf("%d",&a); h=a/100; m=((a-h*100)/100)*60; h=h+10; if(0<=m&&10>m){printf("%02d:0%d\n",h,m);} else printf("%d:%d\n",h,m); }