#D9058. Remaining Time

    ID: 7529 Type: Default 2000ms 268MiB

Remaining Time

Remaining Time

Dolphin loves programming contests. Today, he will take part in a contest in AtCoder. In this country, 24-hour clock is used. For example, 9:00 p.m. is referred to as "21 o'clock". The current time is A o'clock, and a contest will begin in exactly B hours. When will the contest begin? Answer in 24-hour time.

Constraints

  • 0 \leq A,B \leq 23
  • A and B are integers.

Input

The input is given from Standard Input in the following format:

A B

Output

Print the hour of the starting time of the contest in 24-hour time.

Examples

Input

9 12

Output

21

Input

19 0

Output

19

Input

23 2

Output

1

inputFormat

Input

The input is given from Standard Input in the following format:

A B

outputFormat

Output

Print the hour of the starting time of the contest in 24-hour time.

Examples

Input

9 12

Output

21

Input

19 0

Output

19

Input

23 2

Output

1

样例

9 12
21