Average price#798

Average price

1 second
128 megabytes
Very easy (≈850)

You have scanned the prices of several products for sale. You now wish to determine the average product price. Unfortunately, you know that you have been sloppy, and you may have scanned some products more than once. However, you know that you have scanned every product at least once, and that no two products have exactly the same price. Find the average of product price.

Input

First line contains number of prices n~(n \le 50). Next line contains positive integers (no more than ) — the scanned prices.

Output

Print the average of product price with decimal digits.

Examples

Example 1

Loading
Loading