Algorithm Performance I
Submit solution
Points:
1
Time limit:
2.0s
Memory limit:
256M
Author:
Problem type
Allowed languages
C, C++, Java, Python
A tech company is benchmarking their algorithm's performance using different hardware. They have tasked you with finding the fastest time in which they can get the algorithm to run, out of a list of all the different run times they have achieved.
Input
The first line contains an integer,
. The following line then contains
space seprated unique integers
. These represent the run times of the algorithm.
Output
Print the fastest of all the run times.
Examples
Input
5
3 5 8 7 20
Output
3
Input
2
6 10
Output
6
Comments