← Problem book: C Lesson 51 of 96 · 10 XP

Arithmetic mean

Theory and problem statement

Machine translation, not yet reviewed by a native speaker.

The first line contains the count of numbers n (n ≥ 1), the second — the n integers themselves, separated by spaces.

Print their arithmetic mean with two digits after the decimal point.

Example

Input:

4
1 2 3 4

Output:

2.50

Sign up for free to solve this task right in your browser: code editor, running, test checks and hints.