Arithmetic Mean#273

Arithmetic Mean

1 second
256 megabytes
Very easy

Cossack Vus has two integers and (a \leq b). He found the arithmetic mean of these numbers (let it be the number ). 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 .

Input

The first line contains one integer (1 \leq a \leq 100).

The second line contains one integer (a \leq c \leq 100).

Output

Output one integer — .

Examples

Example

Loading
Loading