index
| submit
| rank
| book

## discount – Fare discount

In a given transport company (train & bus),
people are given discount fares if they meet the following criteria:

- people under 18 years old;
- students up to 25 years old;
- people from 65 years old.

Write a program that given a person’s age and profession
whether they are elegible for a discount fare.

### Input and Output

Each line of input
contains a string *p* and a number *a*
indicating the profession and age of a person respectively.
For each line of input,
there should be a line of output indicating the type of fare:
`full price`

or `discount`

.

**Example input**

```
student 11
programmer 33
retired 66
engineer 44
```

**Example output**

```
discount
full price
discount
full price
```

### Scoring

- 1/6: works for the above examples but produces output in an incorrect format
- 2/6: works for the above examples and produces output in the correct format
- 5/6: works for other test cases
- 6/6: works for edge cases

try first: bool-not bool-and-or age

try also: timetable

try next: bool-calc intersect

index
| submit
| rank
| book

Copyright © 2020-2021 Rudy Matela

All rights reserved