using namespace std;
int main() { int N,A,B,C; cin >> N; A = N / 3600; B = (N - 3600 * A) / 60; C = N - 3600 * A - 60 * B; printf(“%d:%d:%d”,A,B,C); return 0; }