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: 4, ['K', 'L', 'd', '589', '1501', 'x', 'X', 'B', 'Z', '4891', 'a', '3289', '1587', '7213', '201', 'W', 'E', '1127', 'z']

A: K, L, d, 589
****
Q: 3, ['b', 'L', 'Z', '1079', 's', '2713', '4443', '7115', 'x', 'H', 'r', '2399', 'm', 'a']

A: b, L, Z
****
Q: 1, ['Y', '3605', '1367', '2623', 'w', 't', '5835', 'n', '5497', 'e', 'q', 'Z', 'E', '7731', '2167']

A:
Y
****