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: 7, ['5921', 'B', 'y', 'W', '6101', '963', '3167', 'a', 'E', '3839', 'o', '1001', '5705', 'U', '773', '8325', '2265', '4169', '7305', 'O', '1585', '541', '885', '887', '5985', 'z', 'z', '3771', '1163', '7507']

A: 5921, B, y, W, 6101, 963, 3167
****
Q: 5, ['e', '1389', 'e', '497', 'N', 't', '123', '8215', 'F', 'E', '499', '5183', '6245', 'W', '7063']

A: e, 1389, e, 497, N
****
Q: 9, ['1291', 'T', 'L', '6097', '6069', 'i', '4551', '3375', '9985', 'b', '8231', '8883', '2133', 'V', 'm', '873', 'L', 'x']

A:
1291, T, L, 6097, 6069, i, 4551, 3375, 9985
****