Can somebody provide the test cases of burger cook off?

Here’s my submission of Burgers of may cook off. I can’t find why it doesn’t work. Can anyone help or provide a test case at which it fails?

5 25

For this test case answer is -1

Ohhh, got it. I did’t focus on ak part of the statement. Thanks for reply.