P12223 [AOJ] HullMarathon
普及
题目描述

Example

Input

4
5
8
58
85

Output

2970.000000000

输入格式

见题面

输出格式

见题面

样例输入
4 5 8 58 85
样例输出
2970.000000000