#include int main(void){ int s,h,m,ans; scanf("%d",&s); h=s/100; m=((s-h*100)/100)*60; printf("%d:%d\n",h,m); }