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: 11, ['4935', 'm', 'r', 'T', '711', '2041', 'r', 'g', '1915', 'k', 'E', '2547', '5341', '483', '1397', 'B', '1739', '1183', 'j', 'V', '8525', '6011', 'y', '6979', 'B', 'v']

A: 4935, m, r, T, 711, 2041, r, g, 1915, k, E
****
Q: 4, ['y', '8173', 'X', 'K', 'c', 'y', 'j', 'C', 'p', 'Q', 'E', 'C', 'C', 'f', 'I', '8029', 'x', '8731', 'G', '5413', 'J', '8375', 'F', 'd', 'U', 'K', '6941', 'l', 'A']

A: y, 8173, X, K
****
Q: 1, ['9771', 'y', '1485', 'r', '4165', 'q', 'O']

A:
9771
****