← Back to List
29863번: Arno's Sleep Schedule ↗
Solutions
Python 3
97 B | 97 chars
a = int(input()) b = int(input()) if 20 <= a <= 23: print(b + (24 - a)) else: print(b - a)