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.
Two integers and (1 \le a, b \le 10^9).
Print the minimum possible length of the remaining red strip.
Example 1
Example 2