#include #include #include #include #include #include using namespace std; int main(void) { int h, m; char x; cin >> h >> x >> m; m += 5; if (m >= 60) { m %= 60; h++; } if (h >= 24) h %= 24; cout << setfill('0') << setw(2) << h << ":" << setfill('0') << setw(2) << m << endl; return 0; }