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