# problem

Wanting to know how much you walked per day, you decided to calculate your average daily steps. Since the number of days recorded and the data of the number of steps are given, create a program to calculate the average number of steps per day.

The average is the sum of the given values divided by the number of data.

# Value to be entered

The input is given in the following format.

N a_1 ... a_N -The first line is given an integer N that represents the number of days recorded. • The 1 + i (1 ≤ i ≤ N) line is given the integer a_i, which represents the number of steps taken on day i. -The total input is N + 1 line, and one line feed is inserted at the end.

# Expected output

Output the average number of steps per day as an integer. However, the numbers after the decimal point shall be truncated.

# Input example 1

6 12 7 51 15 50 24

27

3 1 1 2

# Output example 2

1

#### `python`

``````
a = gets.chomp.to_i
s = 0
for i in 1..a do
int = gets.chomp.to_i
s += int
end
print s / a
``````