#include "bits/stdc++.h" using namespace std; #define print(x) cout< PI; typedef pair V; typedef vector VE; const ll mod = 1000000007; //10^9+7 int main(){ int a; cin >> a; int h, m; h = a / 100; m = (a - (a / 100) * 100) * 6 / 10; if(m > 10){ print(h + 10 << ":" << m); }else{ print(h + 10 << ":0" << m); } }