#include <cstdio> #include <iostream> using namespace std; int main() { int n; cin >> n; printf("%d:%d:%d", n/3600, n%3600/60, n%60); return 0; }