/*#include<stdio.h> int main() { int h, m, t; scanf("%d %d %d", &h, &m, &t); m=m+t; h=h+m/60; m=m%60; if(h>=24) { t=h/24-1; h=t+h-24; } printf("%d %d", h, m); } */