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: 6, ['9871', 'k', '7633', 'K', 'j', '6281', 'H', 'I', 'm', 'H', '2239', '8397', 'r', 'H', 'R', 'l', 'E', 'x', 'm', '8653', '5793']

A: 9871, k, 7633, K, j, 6281
****
Q: 1, ['g', 'r', '6193', '9251']

A: g
****
Q: 3, ['k', 'X', 'S', '4035', 'X', '8577', '8043', '8711']

A:
k, X, S
****