#include #include #include #include #include int main(void) { int hour,min; scanf("%d:%d",&hour,&min); min+=5; if(min>59) { hour++; min-=60; } if(hour>23) { hour-=24; } if(hour<10) { printf("%02d",hour); } else { printf("%d",hour); } printf(":"); if(min<10) { printf("%02d",min); } else { printf("%d",min); } }