#AT1261. A - Train
A - Train
A - Train
Score : $100$ points
Problem Statement
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."
Constraints
- $1 \leq N \leq 100$
- $1 \leq i \leq N$
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
4 2
3
The second car from the front of a $4$-car train is the third car from the back.
1 1
1
15 11
5