9659: ABC182 —— A - twiblr
[Creator : ]
Description
You are on a social networking site called twiblr.
In twiblr, you can follow at most $2\,\times\,($ the number of users following you $)\,+\,100$ users.
You are currently following $B$ users, and $A$ users are following you.
At most, how many extra users can you follow now?
In twiblr, you can follow at most $2\,\times\,($ the number of users following you $)\,+\,100$ users.
You are currently following $B$ users, and $A$ users are following you.
At most, how many extra users can you follow now?
Input
Input is given from Standard Input in the following format:
```
$A$ $B$
```
```
$A$ $B$
```
Output
Print the maximum number of extra users you can follow now.
Constraints
- $0 \le A, B \le 10000$
- $B \le 2 \times A + 100$
- All values in input are integers.
- $B \le 2 \times A + 100$
- All values in input are integers.
Sample 1 Input
200 300
Sample 1 Output
200
You can follow at most 2×200+100=500 users, that is, 200 more users than you are following now.
Sample 2 Input
10000 0
Sample 2 Output
20100