Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7519 - Өсөх эсэх

Өгөгдсөн нэг хэмжээст массив өсөхөөр эрэмбэлэгдсэн бол YES үгүй бол NO гэж хэвлэ.

Input

Эхний мөрөнд массивын элэментийн тоо өгөгдөнө. n<=100.

Дараагийн мөрөнд массивын элементүүд зайгаар тусгаарлагдан өгөгдөнө. Int төрөл.

Output

Эрэмбэлэгдсэн бол YES үгүй бол NO гэж хэвлэнэ.

Example

Input 1:
5
2 5 100 230 999
Output 1:
YES
Input 2:
6
2 5 100 100 230 999
Output 2:
NO

Нэмсэн:Bataa
Огноо:2013-02-21
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE
Эх сурвалж:2013 он RGB7 Онлайн 1

hide comments
2024-12-10 06:28:41
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:28:41
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:28:41
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:27:06
choi gomo
2024-12-10 06:27:06
choi gomo
2024-12-10 06:27:03
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:27:03
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:27:03
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:27:03
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































2024-12-10 06:27:03
024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































024-12-10 06:24:34 (edit)
































































































































































































































































































© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.