#184. wordsFront

wordsFront

Background

Description

Given an array of strings, return a new array containing the first N strings. N will be in the range 1..length.

Format

Input

Output

Samples

"a" "b" "c" "d"] 
["a"]
"a" "b" "c" "d"] 
["a", "b"]
"a" "b" "c" "d"] 
["a", "b", "c"]

Limitation

1s, 1024KiB for each test case.