Medium
Cinema Ticket
A ticket costs 200. Children under 12 pay half, people 60 or older pay 120, and on Tuesday everyone gets 50 off the final price. Read the age and the day name and print the price.
Input
Age, then day.
Output
One integer.
Sample 1
Input
8 Monday
Output
100
Sample 2
Input
30 Tuesday
Output
150
Output appears here