#diverta2019a. [diverta2019_a]Consecutive Integers
[diverta2019_a]Consecutive Integers
Problem Statement
Snuke has integers: . He will choose of them and give those to Takahashi.
How many ways are there to choose consecutive integers?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
3 2
Sample Output 1
2
There are two ways to choose two consecutive integers: and .
Sample Input 2
13 3
Sample Output 2
11