100 atcoder#ABC127A. [ABC127A] Ferris Wheel
[ABC127A] Ferris Wheel
Score : points
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.
30 100
100
Takahashi is years old now, and the cost of the Ferris wheel is yen.
12 100
50
Takahashi is years old, and the cost of the Ferris wheel is the half of yen, that is, yen.
0 100
0
Takahashi is years old, and he can ride the Ferris wheel for free.