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