eolymp
bolt
Try our new interface for solving problems
Problems

Dino and colors

Dino and colors

Time limit 1 second
Memory limit 128 MiB

Dino accidentally painted a red strip of length a 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 b. 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 data

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

Output data

Print the possible minimum length of the remaining red strip.

Examples

Input example #1
10 5
Output example #1
0
Input example #2
6 2
Output example #2
2
Source Semifinals, Azerbaijan Olympiad 2019-2020