#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(){ ll a; cin >> a; ll hun = 60 * a / 100; ll hour = hun / 60; hun -= hour * 60; cout << 10 + hour << ":"; if(hun < 10)cout << 0 << hun << endl; else cout << hun << endl; }