Dino and colors#9636

Dino and colors

1 second
128 megabytes
Very easy

Dino accidentally painted a red strip of length on the school wall with red paint. Before the end of the break, he must hide it; otherwise, if the teacher sees it, he will be very angry.

Dino remembered that he has two cans of white paint, each enough to paint a white stripe of length . He wants to use these paints to completely hide the red strip by painting over it with white, or at least paint over as much as possible, so that the length of the visible red strip is minimized.

Help Dino achieve this.

Input

Two integers and (1 \le a, b \le 10^9).

Output

Print the minimum possible length of the remaining red strip.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading