Processing math: 100%
Smallest value - MarisaOJ: Marisa Online Judge

Smallest value

Time limit: 1000 ms
Memory limit: 256 MB
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