I need help understanding this question

Please can you explain me in simple words the input we have to take and the output to be printed.The output is to be the minimum cost but in the example tyhere arev 2 outputs.plss help me out

See in this question you have to find minimum cost. Since it is given that there a n prime numbers upto the cost therefor minimum cost is nth prime number. So you have to find the nth prime number.
there are two outputs because there are two inputs(2 tc)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.