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.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.