Олимпиадный тренинг

Задача 18683. Smallest number


Задача

Темы: Цикл for
Given a sequence of numbers. Find the smallest number in it.
 
Input
First given number N (number of numbers in sequence) and then N numbers on one line, separated by one space.
 
Output
Print the smallest number.
 
Examples
# Input Output
1
7
4 2 5 -1 4 6 2
-1