#include <bits/stdc++.h>
using namespace std;
int main() {
int ts, h, m, s;
cout << "請輸入秒數: ";
cin >> ts;
h = ts / 60 / 60;
m = ts / 60 % 60;
s = ts % 60;
cout << h << ":" << m << ":" << s << endl;
printf("%d:%d:%d\n", h, m, s);
printf("%2d:%2d:%2d\n", h, m, s);
printf("%02d:%02d:%02d\n", h, m, s);
}