For this Question: Straight and Simple.
Given N numbers, A[1], A[2],. , A[N], find their average.

Refer <a href="https://en.wikipedia.org/wiki/Average">here</a> for better understanding of average.The first line of the input contains a single integer N. 
The second line of the input contains N singly spaced integers, A[1]...A[N].

Constraints
1 <= N <= 300000
0 <= A[i] <= 10<sup>18</sup> (for i = 1 to N)If the average is X, report <b>floor(X)</b>.Sample Input
5
1 2 3 4 6

Sample Output
3

Explanation:
(1 + 2 + 3 + 4 + 6) / 5 = 3.2. floor(3.2) = 3.

Sample Input
5
3 60 9 28 30 

Sample Output
26, I have written this Solution Code: n = int(input())
a =list
a=list(map(int,input().split()))
sum=0
for i in range (0,n):
    sum=sum+a[i]
print(int(sum//n))
    , In this Programming Language: Python, Now tell me if this Code is compilable or not?