#include #include #include using namespace std; int main(int argc,char *argv[]) { string tmp; cin >> tmp; unsigned int sec = strtoul(tmp.c_str(), NULL, 10); int div = (sec / 60); int mod = (sec % 60); if (sec < 0) { cout << "00:00"; } else { cout << div << ":"; if (mod < 10) { cout << "0" << mod << endl; } else { cout << mod << endl; } } return 0; }