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