1 of the test case shows wrong answer

Here is my code:


inside each test case initialise rikshaw = 0 , cab = 0