100 atcoder#ABC107A. [ABC107A] Train

[ABC107A] Train

Score : 100100 points

Problem Statement

There is an NN-car train.

You are given an integer ii. Find the value of jj such that the following statement is true: "the ii-th car from the front of the train is the jj-th car from the back."

Constraints

  • 1N1001 \leq N \leq 100
  • 1iN1 \leq i \leq N

Input

Input is given from Standard Input in the following format:

NN ii

Output

Print the answer.

4 2
3

The second car from the front of a 44-car train is the third car from the back.

1 1
1
15 11
5