Nc = input()
N = int(Nc)
cor = ''
c = map(int,input().split())
l = list(c)
l2 = []
maxL = 0


for num in l:
    if 1 <= N <= 100 and 1 <= num <= 4800 and type(num) == int:
        if  1 <= num <= 399 and num not in l2:
            cor = 'cinzento'
            l2.append(num)
            maxL = maxL + 1
        elif 400 <= num <= 799 and num not in l2:
            cor = 'castanho'
            l2.append(num)
            maxL = maxL + 1
        elif 800 <= num <= 1199 and num not in l2:
            cor = 'verde'
            l2.append(num)
            maxL = maxL + 1
        elif 1200 <= num <= 1599 and num not in l2:
            cor = 'ciano'
            l2.append(num)
            maxL = maxL + 1
        elif 1600 <= num <= 1999 and num not in l2:
            cor = 'azul'
            l2.append(num)
            maxL = maxL + 1
        elif 2000 <= num <= 2399 and num not in l2:
            cor = 'amarelo'
            l2.append(num)
            maxL = maxL + 1
        elif 2400 <= num <= 2799 and num not in l2:
            cor = 'laranja'
            l2.append(num)
            maxL = maxL + 1
        elif 2800 <= num <= 3199 and num not in l2:
            cor = 'vermelho'
            l2.append(num)
            maxL = maxL + 1
        elif 3199 <= num <= 4800 and num not in l2:
            maxL = maxL + 1