Problem: Little Vasya loves orange juice very much. That's why any food and drink in his kitchen necessarily contains orange juice. There are n drinks in his fridge, the volume fraction of orange juice in the i-th drink equals pi percent.

One day Vasya decided to make himself an orange cocktail. He took equal proportions of each of the n drinks and mixed them. Then he wondered, how much orange juice the cocktail has.

Find the volume fraction of orange juice in the final drink.

Input

The first input line contains a single integer n (1 ≤ n ≤ 100) — the number of orange-containing drinks in Vasya's fridge. The second line contains n integers pi (0 ≤ pi ≤ 100) — the volume fraction of orange juice in the i-th drink, in percent. The numbers are separated by a space.

Output

Print the volume fraction in percent of orange juice in Vasya's cocktail. The answer will be considered correct if the absolute or relative error does not exceed 10  - 4.

Examples

Input

3
50 50 100


Output

66.666666666667


Input

4
0 25 50 75


Output

37.500000000000

Note

Note to the first sample: let's assume that Vasya takes x milliliters of each drink from the fridge. Then the volume of pure juice in the cocktail will equal <image> milliliters. The total cocktail's volume equals 3·x milliliters, so the volume fraction of the juice in the cocktail equals <image>, that is, 66.(6) percent.

Solution (in PYTHON3):

Solution:
# # №1.1 Буква в слове
# a = input()
# s = list(input().split())
# l = len(s)
# for i in range(l):
#     if a in s[i]:
#         print(s[i])

# # №1.2 Максимальное кол-во букв в слове
# a = input().lower()
# max_c = 0
# for i in a:
#     if a.count(i) >= max_c:
#         max_c = a.count(i)
# print(max_c)

# # №1.3  Удалить каждый третий символ
# a = input()
# l = len(a)
# b = ''
# for i in range(l):
#     if i != 0 and i % 3 != 0:
#         b = b + a[i]
# print(b)

# # №1.4 Полицейские-рекруты
# c = int(input())
# h = list(map(int, input().split()))
# p_count = 0
# out = 0
# for i in h:
#     if i == -1:
#         if p_count == 0:
#             out += 1
#         else:
#             p_count -= 1
#     if 1 <= i <= 10:
#         p_count += i
# print(out)
# https://codeforces.com/problemset/problem/427/A

# # №1.5 A. I_love_%username%
# c = int(input())
# h = list(map(int, input().split()))
# count = 0
# min = h[0]
# max = h[0]
# for i in range(c):
#     if h[i] > max:
#         max = h[i]
#         count += 1
#     elif h[i] < min:
#         min = h[i]
#         count += 1
# print(count)
# https://codeforces.com/problemset/problem/155/A

# # №1.5 A. Следующий раунд
# n, k = map(int, input().split())
# h = list(map(int, input().split()))
# count = 0
# for i in range(n):
#     if h[i] >= h[k-1] and h[i] > 0:
#         count += 1
# print(count)
# https://codeforces.com/problemset/problem/158/A

# # №1.5.1 A. Праздник равенства
# n = int(input())
# h = list(map(int, input().split()))
# max_h = max(h)
# count = 0
# for i in range(n):
#     if h[i] < max_h:
#         r = max_h - h[i]
#         count += r
# print(count)
# https://codeforces.com/problemset/problem/758/A

# # №1.6 Тренировки Егора
# n = int(input())
# a = list(map(int, input().split()))
# count_chest = 0
# count_biceps = 0
# count_back = 0
# for i in range(n):
#     if i % 3 == 0:
#         count_chest += a[i]
#     elif i % 3 == 1:
#         count_biceps += a[i]
#     elif i % 3 == 2:
#         count_back += a[i]
#     else:
#         print('что то не так')
# if count_chest > count_biceps and count_chest > count_back:
#     print('chest')
# elif count_biceps > count_chest and count_biceps > count_back:
#     print('biceps')
# elif count_back > count_chest and count_back > count_biceps:
#     print('back')
# else:
#     print('сбой снова')
# https://codeforces.com/problemset/problem/255/A

# # №1.7 Упражнение на строки
# s = input().lower()
# glas = 'aoyeui'
# for i in glas:
#     s = s.replace(i,'')
# s = '.'.join(s)
# print('.' + s)
# https://codeforces.com/problemset/problem/118/A

# # №1.8 A. Не смешите мои подковы
# a = list(map(int, input().split()))
# count = 0
# while a:
#     c = a[0]
#     b = a.count(c)
#     count += b - 1
#     a.remove(c)
#     while c in a:
#         a.remove(c)
# print(count)
# # https://codeforces.com/problemset/problem/228/A

# # №1.9 B. Напитки
c = int(input())
h = list(map(int, input().split()))
procent = sum(h)
print(procent/c)
# https://codeforces.com/problemset/problem/200/B

# # №1.9 A. Выбор команд

# https://codeforces.com/problemset/problem/432/A