#include<iostream> int main(){ int t,s,f,m; scanf("%d",&t); s=t/3600; t=t%3600; f=t/60; m=t%60; printf("%d:%d:%d",s,f,m); return 0; }