P5718 [Shenji 4. Example 2] Find the Minimum Value
Description
Given $n$ and $n$ integers $a_i$, find the minimum value among these $n$ integers.
Input Format
The first line contains a positive integer $n$, which represents the number of values.
The second line contains $n$ non-negative integers, representing $a_1, a_2 \dots a_n$, separated by spaces.
Output Format
Output a non-negative integer, representing the minimum value among these $n$ non-negative integers.
Explanation/Hint
Constraints: $n \le 100$ and $0 \le a_i \le 1000$.
Translated by ChatGPT 5