#include using namespace std; int main() { int a; cin >> a; int h = 10 + a / 100; int k = (double)60 * (a % 100) / 100; string m = to_string(k); if (m.length() == 1) m = "0" + m; cout << h << ':' << m << endl; return 0; }