#CCBCHBAHAI0000146. Giá trị nhỏ nhất (Minimum Value)
Giá trị nhỏ nhất (Minimum Value)
Minimum Value
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given an integer array , find its minimum value:
Input
- The first line contains an integer .
- The second line contains integers .
Output
Print one integer, the minimum value .
Subtasks
Subtask 1 (100 points): and .
Examples
Input
6
7 -3 5 -10 8 -2
Output
-10
Explanation
The smallest value among is , so the program prints -10.