Competitions

# Azerbaijan Finals 2020 Preparations: 2020 Semifinals

# Dino and colors

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

Two integers **a** and **b** (**1** ≤ **a**, **b** ≤ `10`

).^{9}

#### Output

Print the possible minimum length of the remaining red strip.

Input example #1

10 5

Output example #1

0

Input example #2

6 2

Output example #2

2