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

[EX Q]: 7, ['U', 'P', 'd', '8355', '6819', 'x', 'Q', 'e', 'R', 'H', '2257', 'o', '1669', 'R', '2281', '253', 'j', '8109', '689', '4897']
[EX A]: U, P, d, 8355, 6819, x, Q

[EX Q]: 5, ['G', 'm', 'W', 'O', 'E', '5913', '1109', 'n', '9961', '8455', '1225', 'I', 'o', 'n', '5029', 'j', '4147', '7751', '555', 'M', '7451', 'S', 'm']
[EX A]: G, m, W, O, E

[EX Q]: 1, ['r', '6677', 'Y', 'U']
[EX A]:
r