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, ['j', '1767', '4753', 'M', 'o', '4683', 'A']
[A]: j


[Q]: 1, ['7213', 'Z']
[A]: 7213


[Q]: 3, ['m', 'G', 'U', '3717', 'y', 'f', '8963', 'n', 'S', '7731']
[A]:
m, G, U