using namespace std;
int main() { int a,b,t; cin>>a>>b; t=b-a; if(t<=0) printf(“O JOGO DUROU %d HORA(S)”,24+t); else printf(“O JOGO DUROU %d HORA(S)”,t); return 0; }