What is first and second test case

my code is fiving wrong answer for first and second test cases

I can’t tell you the test case. You can send the link of your code, so i can debug it.
@manoyadavk