A certain country takes the following pension plan. A man receives 50 euros a week if he is older than 65 and an extra 20 euros a week if he is older than 70. A woman receives 45 euros a week if she is older than 60 and an extra 25 is she is older than 65.

Input

The sex (man/woman) and the age of the person, on 2 separate lines.

Output

The pension (expressed in euros per week) that the person receives. This is always a whole number. If the person does not receive a pension, the text "not pensionable" is printed as a result.

Example

Input:

man
70

Output:

50

Example

Input:

woman
60

Output:

not pensionable