Login
Sign-Up
Problem
Contest
Category
Submissions
English
Problem
Contest
Category
Submissions
English
#212
Submit Code
Submissions
웅크리기
Time Limit: 1 Sec
Memory Limit: 128 MiB
한국어
Example Input 1
Copy
3 1 2 1 3 3 -1 2
Example Output 1
Copy
NO
Example Input 2
Copy
4 1 2 2 3 3 -2 -1 2 -5
Example Output 2
Copy
YES
Example Input 3
Copy
2 1 5 5 5 5
Example Output 3
Copy
NO
Language-Specific Restrictions