atcoder#ABC231C. [ABC231C] Counting 2
[ABC231C] Counting 2
Score : points
Problem Statement
There is a class with students. The height of the -th student is .
For each , answer the following question.
- How many of the students have a height of at least ?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print lines.
The -th line should contain the number of students with a height of at least .
3 1
100 160 130
120
2
The students with a height of at least are the -nd and -rd ones.
5 5
1 2 3 4 5
6
5
4
3
2
0
1
2
3
4
5 5
804289384 846930887 681692778 714636916 957747794
424238336
719885387
649760493
596516650
189641422
5
3
5
5
5