#include #include #include using namespace std; int main() { int a; cin >> a; cout << (10 + a / 100) << ":"; int min = a % 100 / 100.0 * 60; if (min < 10) cout << "0" << min << endl; else cout << min << endl; return 0; }