n = int(input()) scores = list(map(int, input().split())) count = 0 for score in scores: if score >= 85: count += 1 print(count)