The first line contains N, M, and L. (1≤N,M,L≤123456)
The second line contains N positive integers H1,H2,…,HN, the height of each row, separated by spaces. The sum of Hi does not exceed 109.
The third line contains M positive integers W1,W2,…,WM, the width of each column, separated by spaces. The sum of Wj does not exceed 109.