All problems

Removing Distracting Chart Borders

mediumPythonMatplotlibSpines

A chart arrives boxed in on all four sides by default. Pike Street Studio keeps the left and bottom borders, which carry the two axes and are doing a job, and removes the top and right ones, which carry nothing and close the shape off. The result reads as data sitting on a pair of scales rather than as a picture in a frame. The caption counts the readings that landed on a round number, since those are the ones a reader can check against the gridlines at a glance.

Task: Print how many readings are exact multiples of 10. A reading of 0 counts, since 0 is a multiple of 10.

Input

The first line holds an integer n, the number of readings. Each of the next n lines holds one reading as a whole number. n is at least 1.

Output

One line holding a whole number: how many readings are multiples of 10.

Example:

Input:
4
10
15
20
25

Output:
2

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…