#C3993. Count Candidates Above Threshold
Count Candidates Above Threshold
Count Candidates Above Threshold
A company wants to select candidates by checking if their scores meet a certain standard. Given the number of candidates \(N\), a list of their scores, and a threshold score \(T\), your task is to count how many candidates have a score greater than or equal to \(T\).
Note: The input is read from standard input (stdin) and the output should be printed to standard output (stdout).
inputFormat
The input consists of three lines:
- The first line contains an integer \(N\) representing the number of candidates.
- The second line contains \(N\) space-separated integers representing the scores of the candidates.
- The third line contains an integer \(T\) representing the threshold score.
outputFormat
Output a single integer representing the number of candidates whose score is greater than or equal to \(T\).
## sample5
85 67 90 75 88
80
3