#16. middleWay

middleWay

Background

Description

Given 2 int arrays, a and b, each length 3, return a new array length 2 containing their middle elements.

Format

Input

Output

Samples

[1 2 3] [4 5 6]
[2, 5]
[7 7 7] [3 8 0]
[7, 8]
[5 2 9] [1 4 5]
[2, 4]

Limitation

1s, 1024KiB for each test case.