#t65. 连续上升数列
连续上升数列
Strictly Increasing Sequence
Problem Description
Determine whether a sequence of numbers is strictly increasing.
Input Format
The first line contains a positive integer .
The second line contains positive integers, all within the range of int.
Output Format
If the numbers are strictly increasing, print YES; otherwise print NO.
Sample Input
5
1 2 5 10 11
Sample Output
YES