eolymp
bolt
Try our new interface for solving problems
Problems

Outside the interval

Outside the interval

Determine whether the number $x$ is outside the interval $[a; b]$. The number $x$ is outside the interval $[a; b]$ if either $x < a$ or $x > b$. \InputFile Three integers $x, a, b$, each not exceeding $10^9$ in absolute value. \OutputFile Print "\textbf{OUT}" if the number $x$ does not belong to the interval $[a; b]$. Otherwise, print "\textbf{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