#C833. Core Products
Core Products
Core Products
You are given a collection of products and their corresponding purchase counts. Your task is to identify the core products whose purchase counts are greater than or equal to a given threshold k. The index of each product starts at 1. If no product meets this threshold, output the string "None".
Note: The indices in the output should be printed in increasing order and separated by a single space.
The problem can be formally described by the following relation in LaTeX:
\(CoreProducts = \{ i \in \{1,2,\dots,n\} \mid purchases[i-1] \geq k \}\)
inputFormat
The first line contains two space-separated integers: n (the number of products) and k (the threshold value).
The second line contains n space-separated integers representing the purchase counts for each product.
Read the input from standard input (stdin).
outputFormat
If at least one product meets the threshold, output the 1-based indices of these products in a single line separated by spaces. Otherwise, output the string "None".
Write the answer to standard output (stdout).
## sample5 3
2 3 1 4 3
2 4 5