Given an array A with n integer elements, find the minimum value in the array.
### Input
- The first line contains an integer n.
- The second line contains n integers Ai.
### Output
- Print the minimum value in the array.
### Constraints
- 1≤n≤1000.
- 1≤Ai≤1000.
### Sample
Input:
512153
Output:
1