#abc073b. [abc073_b]Theater
[abc073_b]Theater
Problem Statement
Joisino is working as a receptionist at a theater.
The theater has seats, numbered from to .
According to her memo, groups of audiences have come so far, and the -th group occupies the consecutive seats from Seat to Seat (inclusive).
How many people are sitting at the theater now?
Constraints
- No seat is occupied by more than one person.
- All input values are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of people sitting at the theater.
Sample Input 1
1
24 30
Sample Output 1
7
There are people, sitting at Seat and .
Sample Input 2
2
6 8
3 3
Sample Output 2
4