eolymp
Problems

Twice the minimum

Twice the minimum

The array of real numbers is given. Calculate the twice value of the minimum element in array.

Input

First line contains the number n (n100) of elements in array. Second line contains n real numbers - the elements of array. Each value does not exceed 100 by absolute value.

Output

Print the twice value of the minimum element in array with 2 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
6
6 7.5 2.1 2.0 0 -3


Output example #1
-6.00
Source SFE-2010 Variant 17