import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
if(a==b) System.out.format("O JOGO DUROU %d HORA(S)",24);
else if (a > b) System.out.format("O JOGO DUROU %d HORA(S)",24 - a + b);
else System.out.format("O JOGO DUROU %d HORA(S)", b - a);
}
}
大佬这么早又开始了^^
菜狗子复习hh