Read two sorted arrays (n then elements, m then elements). Print merged sorted array.
Write a complete program: read the input with input() and print the result with print().
input()
print()
Input
3 1 3 5 3 2 4 6
Output
1 2 3 4 5 6