#29. midThree

midThree

Background

Description

Given an array of ints of odd length, return a new array length 3 containing the elements from the middle of the array. The array length will be at least 3.

Format

Input

Output

Samples

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

Limitation

1s, 1024KiB for each test case.