100 atcoder#ABC124A. [ABC124A] Buttons

[ABC124A] Buttons

Score : 100100 points

Problem Statement

There are two buttons, one of size AA and one of size BB.

When you press a button of size XX, you get XX coins and the size of that button decreases by 11.

You will press a button twice. Here, you can press the same button twice, or press both buttons once.

At most how many coins can you get?

Constraints

  • All values in input are integers.
  • 3A,B203 \leq A, B \leq 20

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the maximum number of coins you can get.

5 3
9

You can get 5+4=95 + 4 = 9 coins by pressing the button of size 55 twice, and this is the maximum result.

3 4
7
6 6
12