e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 2: November 16 – 22. Conditional statement. Part 1

Outside the interval

Determine whether the number x is located outside the interval [a; b]. Number x is located outside the interval [a; b] if either x < a or x > b.

Input

Three integers x, a, b, not greater than 109 by absolute value.

Output

Print "OUT", if the number x is located outside the interval [a; b]. Otherwise print "IN".

Time limit 1 second
Memory limit 128 MiB
Input example #1
7 2 7
Output example #1
IN
Input example #2
-5 1 1
Output example #2
OUT