Every season at the basalt cliffs of Obsidian Shore, someone must audit the season's records. This year the task falls to Porter, armed only with the weights register. Task: Print how many array elements are less than or equal to x. Input format: First line: n and x. Second line: n integers. Output format: Print the count of elements <= x. Constraints: 1 <= n <= 470; 0 <= a[i],x <= 1000000.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 470; 0 <= a[i],x <= 1000000.
