give array num consist 2n element form x1x2xny1y2ynReturn array form x1y1x2y2xnyn Example 1input num 251347 n 3output 235417 Explanation since x12 x25 x31 y13 y24 y37 answer 235417example 2input num 12344321 n 4Output 14233241example 3input num 1122 n 2Output 1212 Constraints1 n 500numslength 2n1 numsi 103