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