#CCBCHBA0000024. Đếm số đạt chuẩn điểm (Count Passing Scores)

Đếm số đạt chuẩn điểm (Count Passing Scores)

Count Passing Scores

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given n integer scores from 0 to 10, count how many scores are at least 5.

Input

n in [0,10000], followed by n integer scores in [0,10].

Output

The number of scores >=5.

Subtasks

  • Subtask 1 (20%): n≤5n\le5, điểm 0..100..10.
  • Subtask 2 (30%): n≤100n\le100, điểm 0..100..10.
  • Subtask 3 (50%): n≤10000n\le10000, điểm 0..100..10.

Examples

Example 1

Input

5
4 5 10 0 6

Output

3

Explanation

5, 10, and 6 pass; score 5 is included.

Example 2

Input

0

Output

0

Explanation

There are no scores.