Unable to understand problem statement

I am just unable to understand the problem statement of the question “PRATEEK LOVES CANDY”

Hi Abhishek,
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.

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.