All problems

Counting Passing Scores

easyPythonNumPyBoolean Aggregation

Fenwick College sets the pass mark on its end-of-term paper at 60. The tutor writing the cover note for the results needs a single figure: how many papers cleared the bar. A mark of exactly 60 counts as a pass — it is the bar, not below it. The marks come off the marking sheet in the order the papers were graded, in no particular order of merit.

Task: Print how many of the marks are a pass.

Input

The first line holds a single integer n, the number of papers. Each of the next n lines holds one mark: a whole number from 0 to 100. There is always at least one paper.

Output

One line holding the number of passing marks, as a whole number. If no paper passed, print 0.

Example:

Input:
5
45
60
72
58
90

Output:
3

Sign in to solve this problem

Reading problems is free for everyone — solving them (Run, Submit, and tracking what you've solved) needs an account.

Sign in

Discussion

Sign in to join the discussion — reading is open to everyone.

Loading comments…