eolymp
bolt
Try our new interface for solving problems
Problems

Twice the minimum

Twice the minimum

Time limit 1 second
Memory limit 128 MiB

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

Input data

The first line contains the number n~(n \le 100) of elements in array. The second line contains n real numbers — the elements of array. Each value does not exceed 100 by absolute value.

Output data

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

Examples

Input example #1
6
6 7.5 2.1 2.0 0 -3


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