Dino and colors#445

Dino and colors

1 second
128 megabytes
Very easy (≈850)

Dino accidentally painted a red strip of length on the wall of the school with red paint. Until the end of the break, it must be hidden, because if the teacher sees, then he will be very angry. Dino remembered that he had two white paints with which he can draw white stripes of length . He wants to use these paints to hide completely the red strip with white, or to paint so that the length of the red strip on the wall will be as small as possible. Help Dino to do this.

Input

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

Output

Print the possible minimum length of the remaining red strip.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading