e-olymp
Competitions

Arrays - 1

Maximum of absolute values

The sequence of real numbers is given. Lets find their absolute values. Find the maximum value among these absolute values.

Input

First line contains the number n (n100) of elements in the sequence. Next line gives n real numbers - the elements of the sequence, which values do not exceed 100 by absolute value.

Output

Print the maximum value among the absolute values of given numbers with 2 digits after the decimal point.

Time limit 1 seconds
Memory limit 128 MiB
Input example #1
5
6 7.5 2.1 2.0 0

Output example #1
7.50
Input example #2
4
-76.45 7.5 -5.1 75.23

Output example #2
76.45
Source SFE-2010 Variant 14