#P1006. Minimum value in a sequence——序列最小值
Minimum value in a sequence——序列最小值
Statement
Given and integers , find the minimum value among these integers.
Input
Input a positive integer on the first line, indicating the number of digits.
Input the second line with non-negative integers, representing , separated by spaces.
The data guarantees that and .
Output
Output a non-negative integer representing the minimum value among these non-negative integers.
Samples
3
3 4 5
3
9
3 14 5 1 3 4 5 5 1
1