#include using namespace std; int main() { int a; cin >> a; double n = a / 100.0; int h = (int)n; double x = (n - h) * 60; int m = (int)x; //cout << n << ',' << x << endl; cout << 10 + h << ':'; if (x < 10) cout << 0; cout << x << endl; }