🅱️atrix

There is a matrix that goes like this:


4 7 10 13.....

7 12 17 22....

10 17 24 31....

13 22 31 40....

. . . .

. . . .

. . . .


Your task is to find the number in the Nth row and the Mth column.


Input Specification


The first line will contain N (1 <= N <= 10^9)

The second line will contain M (1 <= M <= 10^9)


Output Specification


The number in the specified position


Sample Input


3
4


Sample Output


31
Comments
  • There are no comments.