A - Train Car Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MiB

配点 : 100

問題文

N 両編成の電車があります。 この電車の前から K 両目の車両は後ろから何両目ですか?

制約

  • 1 \leq K \leq N \leq 100
  • 入力される値はすべて整数

入力

入力は以下の形式で標準入力から与えられる。

N K  

出力

答えを 1 行で出力せよ。


入力例 1

5 2

出力例 1

4

5 両編成の電車で前から 2 両目の車両は後ろから 4 両目です。


入力例 2

1 1

出力例 2

1

入力例 3

99 50

出力例 3

50

Score : 100 points

Problem Statement

There is a train consisting of N cars. What is the position, counted from the back, of the car that is K-th from the front of this train?

Constraints

  • 1 \leq K \leq N \leq 100
  • All input values are integers.

Input

The input is given from Standard Input in the following format:

N K  

Output

If the car is X-th from the back, output the integer X in one line.


Sample Input 1

5 2

Sample Output 1

4

For a train consisting of five cars, the car that is second from the front is fourth from the back.


Sample Input 2

1 1

Sample Output 2

1

Sample Input 3

99 50

Sample Output 3

50