The task is to complete the function multiplyTwoLists which multiplies two linked lists l1 and l2 and returns their product . The function takes two linked list l1, l2 as its arguments.
Note: The output could be large take modulo 10^9+7.
The first line of input contains an integer T denoting the no of test cases. Then T test cases follow. The first line of each test case contains an integer n denoting the size of the first linked list (l1) In the next line are the space separated values of the first linked list. The third line of each test case contains an integer m denoting the size of the second linked list (l2). In the forth line are space separated values of the second linked list .
For each test case output will be an integer denoting the product of the two linked list.
Example(To be used only for expected output):
1 0 0