10494: ABC107 —— A - Train
[Creator : ]
Description
There is an $N$-car train.
You are given an integer $i$. Find the value of $j$ such that the following statement is true: "the $i$-th car from the front of the train is the $j$-th car from the back."
You are given an integer $i$. Find the value of $j$ such that the following statement is true: "the $i$-th car from the front of the train is the $j$-th car from the back."
Input
Input is given from Standard Input in the following format:
```
$N$ $i$
```
```
$N$ $i$
```
Output
Print the answer.
Constraints
- $1 \leq N \leq 100$
- $1 \leq i \leq N$
- $1 \leq i \leq N$
Sample 1 Input
4 2
Sample 1 Output
3
The second car from the front of a 4-car train is the third car from the back.
Sample 2 Input
1 1
Sample 2 Output
1
Sample 3 Input
15 11
Sample 3 Output
5