Maximum of absolute values
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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 of elements in the sequence. Next line gives real numbers — the elements of the sequence, which values do not exceed by absolute value.
Output
Print the maximum value among the absolute values of given numbers with digits after the decimal point.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 41K
Acceptance rate 40%