#include using namespace std; int main() { int h, m; scanf("%d:%d", &h, &m); m += 5; h += m / 60; m %= 60; h %= 24; printf("%02d:%02d\n", h, m); }