#include using namespace std; typedef long long ll; int main(){ int n, h, m; string s; cin >> n; h = 10; m = 0; h += n / 100; m += ( ( n % 100 ) / 10 ) * 6; if (m < 10) s = "0" ; cout << h << ":" << s << m << endl; return 0; }