/** * author: TakeruOkuyama * created: 2020-04-09 14:53:46 **/ #include #define rep(i, n) for(int i = 0; i < (n); i++) using namespace std; using ll = long long; using P = pair; const int MOD = 1000000007; int main(){ int a; cin >> a; int h = 10 + a / 60; int m = ((a % 100)/10)*6; if(to_string(m).size() == 1){ cout << 10 + a / 100 << ":" << 0 << ((a % 100)/10)*6; }else{ cout << 10 + a / 100 << ":" << ((a % 100)/10)*6 << endl; } return 0;} /** * g++ code.cpp * ./a.out * shift + ctrl + i **/