#44922: 我還是不要亂搞好了


x__1 (^_^ 809-34)


from bisect import bisect_left
a=input()
b=sorted(list(map(int,input().split())))
print(bisect_left(b,11))