You are given two integer arrays nums1 and nums2, sorted in non-decreasing order. Merge nums1 and nums2 into a single array sorted in non-decreasing order.
The first line of the input will be the nums1 array, and the second line of the input will be the nums2 array.