#19629: python 2行


az.rejoice@gmail.com (Icy)


input()
print(sum([1 for i in map(int, input().split()) if i<=10]))