100 atcoder#ABC118A. [ABC118A] B +/- A

[ABC118A] B +/- A

Score : 100100 points

Problem Statement

You are given positive integers AA and BB.

If AA is a divisor of BB, print A+BA + B; otherwise, print BAB - A.

Constraints

  • All values in input are integers.
  • 1AB201 \leq A \leq B \leq 20

Input

Input is given from Standard Input in the following format:

AA BB

Output

If AA is a divisor of BB, print A+BA + B; otherwise, print BAB - A.

4 12
16

As 44 is a divisor of 1212, 4+12=164 + 12 = 16 should be printed.

8 20
12
1 1
2

11 is a divisor of 11.