Help ramu program

i don’t understand why so much inputs are provided in this but according to the question we have to take only few input
The first line contains four integers c1, c2, c3, c4
The second line contains two integers n and m
The third line contains n integers ai
The fourth line contains m integers bi

then why in the sample input is providing so much input

Hey @ikshit9
There are testcases also
Each Test case has 4 lines which are thosw which u mentioned

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.