1046 - Waktu Game
#1046 - Game Time uri solution
startTime, endTime = map(int,input().split())
if startTime < endTime:
durationOfTheGame = endTime-startTime
elif startTime > endTime:
durationOfTheGame = 24 - startTime + endTime
elif startTime == endTime:
durationOfTheGame = 24
print(f"O JOGO DUROU { durationOfTheGame } HORA(S)")
#Isfak Ahmed
Exuberant Echidna