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: 9, ['2897', '3393', 'T', 'd', '1351', 'A', 'R', '6587', 'r', 'l', '9883', 'j', '6605', 'h', '5251', '5467', 'Y', '91', 'u', '429', '3117', 'y', 'D', 'X']

A: 2897, 3393, T, d, 1351, A, R, 6587, r
****
Q: 4, ['i', 'k', '997', '8061', '9921', 'B', '6767', '1405', '7517', 'E', '9199', '4497', 'W', '2597', 'm', 'R', '5415', 'F', '7723', 'N', 'i', '1459', '6765', 'V', '8151', '9575']

A: i, k, 997, 8061
****
Q: 9, ['K', '8343', '9469', 'I', '1061', 'I', 'D', 'I', 'k', 'Y', 'G', 'V', 'u', 'G', 'C', 'V', '2281', '5825', 'O', 'm', '7813', 'E', '6675']

A:
K, 8343, 9469, I, 1061, I, D, I, k
****