시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 2048 MB83355047667.422%

문제

You work at a warehouse that sells chemical products, where somebody just placed an order for all the Boron Acetate Phosphoric Carbonate (BAPC) that you have in store. This liquid is stored in many separate lots, in cube-shaped containers, but your client requires the order to be delivered in a single cube-shaped container that fits all the BAPC liquid perfectly. What should be the size of this container?

입력

The input consists of:

  • One line with an integer $n$ ($1\leq n\leq 10^5$), the number of cube-shaped containers that you have in store.
  • One line with $n$ floating-point numbers $c$ ($1\leq c\leq 10^9$), the length of one of the sides for each of these containers.

출력

Output the length of one of the sides of the cube-shaped container that will contain all the BAPC liquid.

Your answer should have an absolute or relative error of at most $10^{-6}$.

예제 입력 1

3
21 28 35

예제 출력 1

42

예제 입력 2

3
22.10 2022 1337

예제 출력 2

2200.6131345362505

예제 입력 3

3
1.41421356 2.718281828 3.1415926535

예제 출력 3

3.777901284526486