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: 4, ['I', 'P', 'I', '9729', '359', '1947', '3337', '6291', 'M', 'L', 'Y', 'P', '4535', '4107', 'A', '7731', '3917', '5903', 'o', 'S', 'O', '9199', '8797', 'R']

A: I, P, I, 9729
****
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: 9, ['5709', '2123', 'w', 'X', '8015', 'c', '8257', '4535', '3901', '2717', '7079', '1103', '7571', '9353', '503', '9119', '2387', '8699', 'i', '3939', 'L', 'C', 'r']

A:
5709, 2123, w, X, 8015, c, 8257, 4535, 3901
****