Help ramu sample input does not seem to be right

sample input does not seem to be right

@rsaini9416624750

The sample input is correct
2
1 3 7 19
2 3
2 5
4 4 4
4 3 2 1
1 3
798
1 2 3

2 is the number of test cases
First test case
c1 c2 c3 c4 = 1 3 7 19 respectively
Number of different rickshaw and cabs = 2, 3
Now he uses the 2 rickshaws 2 and 5 times respectively
and 3 cabs 4, 4 and 4 times respectively

And from here is the next test case

Let me know if you still need any help.

Hey, is there any way in which i can help you @rsaini9416624750