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


[Q]: 1, ['n', 'c', 'j']
[A]: n


[Q]: 4, ['353', '3607', 'X', 'F', '7267', 'a', '7661', '8543', '6333', '1137', 'E', 'E', '527', '3223']
[A]:
353, 3607, X, F