Problems
Fruits
Fruits
Fruits
Examples
Input example #1
3 4 5 4 3 1 2
Output example #1
Yes
Input example #2
10 10 10 10 10 20 1
Output example #2
No
Fruits
3 4 5 4 3 1 2
Yes
10 10 10 10 10 20 1
No