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]: 2, ['4919', 'f', '9971', '3933', 'M']
[EX A]: 4919, f

[EX Q]: 10, ['1631', 'X', '4555', 'J', '1545', '8729', '6039', '5153', 'p', 'o', '215', '1965', 'N', '8217', '8507', '1793', '7001', 'O', 'E', 'U', '2897', '7129', 'X', '3953', '6799', '5091', 'q', '7909', '1627', 'k']
[EX A]:
1631, X, 4555, J, 1545, 8729, 6039, 5153, p, o