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, ['2887', '2445', '6699', 'G', '5867', '9851', '7493', '4543', '6033', 'U', 't', 't', 'I', '9169', '3105', '5315', '3481', 'X', '1143', 'j']

A: 2887, 2445, 6699, G, 5867, 9851, 7493, 4543, 6033
****
Q: 5, ['5403', 'R', '8935', '2635', 'n', '2979', 'M', 'g', 'i', '8143', '5401', '5227', '2457', 'Q', 'k', 'l', '3729', '9507', '8227', '5909', 'z', 'c']

A: 5403, R, 8935, 2635, n
****
Q: 4, ['X', 'I', '5407', '5173', 'u', '6651', 'S', 'N', 't', '1735', '2719', '3569', '329', 'j', '5197']

A:
X, I, 5407, 5173
****