mergeList
3
5
28
30
10
14
22
43
50
a:
b:
Example:
3
5
newList:
i=2
j=0
k=2
6
15
6