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 and PNG versions of the statement
are also given to help you, but they may contain some content
that is not well displayed. In case of doubt, always use the PDF.