Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
286 B
2
Indexable
Never
import array as arr

# cau a
n = input()
print(n)

# cau b
a = arr.array('d')

# cau c
for i in range (0, n):
    arr[i] = input()
    
# cau d
avg = 0.0
for i in range(0, n):
    avg += arr[i]
avg /= n

# cau e
count  = 0
for i in range(0, n):
    if arr[i] > avg / 5:
        count++