#abc127a. [abc127_a]Ferris Wheel
[abc127_a]Ferris Wheel
Problem Statement
Takahashi, who is years old, is riding a Ferris wheel.
It costs yen ( is an even number) to ride the Ferris wheel if you are years old or older, but children between and years old (inclusive) can ride it for half the cost, and children who are years old or younger are free of charge. (Yen is the currency of Japan.)
Find the cost of the Ferris wheel for Takahashi.
Constraints
- is an even number.
Input
Input is given from Standard Input in the following format:
Output
Print the cost of the Ferris wheel for Takahashi.
Sample Input 1
30 100
Sample Output 1
100
Takahashi is years old now, and the cost of the Ferris wheel is yen.
Sample Input 2
12 100
Sample Output 2
50
Takahashi is years old, and the cost of the Ferris wheel is the half of yen, that is, yen.
Sample Input 3
0 100
Sample Output 3
0
Takahashi is years old, and he can ride the Ferris wheel for free.