N = int(input())
A = list(map(int, input().split()))
B = [0,0,0,0,0,0,0,0,0]
mi = 0
for i in range(len(A)):
    for t in range(len(B)-1):
        if A[i] < (400 * (t+1)) and A[i] > (400 * t):
            B[t] = B[t]+1
    if A[i] > 3199:
        B[-1] = B[-1] + 1
for t in range(len(B)-1):
    if B[t] > 0:
        mi = mi +1
ma = mi + B[-1]
print(ma + mi)