Petrik has two numbers and (a \leq b). He found the arithmetic mean of these numbers (let it be the number ), which turned out to be an integer. That is, c = \frac{a+b}{2}.
You are given the number (i.e. the smaller of the two numbers), as well as the number . Find .
The first line contains an integer (1 \leq a \leq 100).
The second line contains an integer (a \leq c \leq 100).
Output one integer — .
Example 1