Control C102A

Write a program that, given five integers x, a, b, c, d, determines if
x ∈ [a, b] ∪ [c, d].

Input

The input is five integers x, a, b, c, d.

Output

The output is a line with the text “@yes@” if x ∈ [a, b] ∪ [c, d] and
the text “@no@” otherwise.

Problem information

Author: Unknown
Translator: Gabriel Valiente

Generation: 2026-01-25T11:57:41.121Z

© Jutge.org, 2006–2026.
https://jutge.org
