Write a program that reads an array of integers and finds the minimum value of the array.
Input data format
The first line contains the size of an array.
The second line contains elements of the array separated by spaces.
Output data format
An integer number representing the minimum in the input array.