In this task, you are given inputs i and A, where i is an integer and A is a list. You need to output the first i elements of A, starting with the 1st element in A. i will always have a value less than the length of A

[Q]: 1, ['D', 'w', 'C', 'b']
[A]: D


[Q]: 2, ['U', 'z', 'u', '2359', 'C', '3249', 'M']
[A]: U, z


[Q]: 1, ['2795', '2421']
[A]:
2795