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