The code is not passing the test case


this is my code. it showing correct output on sample input.

Hey @Adi_choudhary,
It will go out of bounds for large inputs.
1
6500
It will give wrong answer since out of bounds.