#include #include #include #include #include #include using namespace std; int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); int h,m; char c; cin >> h >> c >> m; m += 5; if(m >= 60){ h += 1; m %= 60; } if(h == 24){ h = 0; } cout << setw(2) << setfill('0') << h; cout << ":"; cout << setw(2) << setfill('0') << m << endl; }