AlgoBazaAlgoBaza
Back to tasks

A ticket with an age check

Beginner

Python for kids 路 Lesson 28: Checking the data - before we calculate

Problem Statement

Read an age. If it is negative or greater than 120, print BLAD. Otherwise print the ticket price: 10 for people under 18 and 20 for older ones.

Input Format

One whole number n (-1000 <= n <= 1000).

Output Format

10, 20 or BLAD.

Examples
Example 1

Input

12

Output

10
Example 2

Input

30

Output

20
Example 3

Input

-5

Output

BLAD