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]: 5, ['y', 'm', '4981', '4767', 'd', '9489', 'T', '1335', '341', 'z', '7339']
[EX A]: y, m, 4981, 4767, d

[EX Q]: 5, ['g', '6045', 'r', 'J', '4885', '9865', 's', 'X', '7397', '9055', '8627', 'T', '7501', '2457', 'Z', 'F', '7395', '5741', 'C', 'F', 'i', '4825', '6549']
[EX A]: g, 6045, r, J, 4885

[EX Q]: 1, ['5187', '3711', '2009', '1785', 'K', 'J', '9771', '5737', '2291', 'a', '8953', 'b', '29', 'C', '6037', 'Q', 'd', '9403', 'c', 'K', '6313', 'x', '1825']
[EX A]:
5187