Drop links or images here to add them to the editor.

Average of Array ⭐⭐

Read an integer N. This number indicates how many values the array will have.

Then, read N integers (one per line) and store them in an array.

Finally, calculate the average of all elements and display it.

Hints:

Input

An integer N, followed by N integers, one per line.

Output

Print the average. Without decimals if it is an exact integer, with one decimal if needed.

Example

Input:

4
5
10
15
20

Output:

12