#include using namespace std; int main(){ int a; cin >> a; int h = 10 + a / 100; int m = a % 100 / 10 * 6; if (m < 10){ cout << h << ':' << '0' << m << endl; } else { cout << h << ':' << m << endl; } }