#include using namespace std; int main() { int a; cin >> a; int h = a / 100 + 10; int m = (a % 100) * 60 / 100; char ans[16]; sprintf( ans, "%02d:%02d", h, m ); cout << ans << endl; }