index | submit | rank | book

discount – Fare discount

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

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

full price
full price


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