The smallest negative in the array#9957

The smallest negative in the array

1 second
64 megabytes
Very easy

Given an array of integers, your task is to find the smallest negative number. If there are no negative numbers in the array, output NO.

Input

The first line contains the integer (1 \leq n \leq 100), representing the number of elements in the array. The second line contains integers, each with an absolute value not exceeding .

Output

Print the smallest negative number, or NO if there are no negative numbers in the array.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading