#include using namespace std; typedef long long ll; int main() { int a; cin >> a; int taken = (double)a * 60 / 100; int h = 10 + taken / 60; int m = taken % 60; string h_ = to_string(h); string m_ = to_string(m); cout << string(2 - h_.length(), '0') + h_ << ":" << string(2 - m_.length(), '0') + m_ << '\n'; return 0; }