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