#abc127a. [abc127_a]Ferris Wheel

[abc127_a]Ferris Wheel

Problem Statement

Takahashi, who is AA years old, is riding a Ferris wheel.

It costs BB yen (BB is an even number) to ride the Ferris wheel if you are 1313 years old or older, but children between 66 and 1212 years old (inclusive) can ride it for half the cost, and children who are 55 years old or younger are free of charge. (Yen is the currency of Japan.)

Find the cost of the Ferris wheel for Takahashi.

Constraints

  • 0A1000 ≤ A ≤ 100
  • 2B10002 ≤ B ≤ 1000
  • BB is an even number.

Input

Input is given from Standard Input in the following format:

AA BB

Output

Print the cost of the Ferris wheel for Takahashi.


Sample Input 1

30 100

Sample Output 1

100

Takahashi is 3030 years old now, and the cost of the Ferris wheel is 100100 yen.


Sample Input 2

12 100

Sample Output 2

50

Takahashi is 1212 years old, and the cost of the Ferris wheel is the half of 100100 yen, that is, 5050 yen.


Sample Input 3

0 100

Sample Output 3

0

Takahashi is 00 years old, and he can ride the Ferris wheel for free.