#include int main() { int N,i,j,x,y; scanf("%d",&N); i=N%60; j=N/60; x=j/60; y=j%60; printf("%d:%d:%d\n",x,y,i); return 0; }