Hard
Clock Arithmetic
A 24-hour clock shows hour h. Read h and a number of hours n to add, and print the hour shown afterwards.
Input
Two integers: h (0–23), n ≥ 0.
Output
The new hour 0–23.
Sample 1
Input
22 5
Output
3
Sample 2
Input
0 24
Output
0
Output appears here