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: 5, ['9887', 'Y', '7167', 'O', 'Y', 'j', '9077', '2133', 'B', '8457', 'e']

A: 9887, Y, 7167, O, Y
****
Q: 1, ['5385', '6581']

A: 5385
****
Q: 4, ['Y', 'M', '1983', 'b', '3571', 'J', 'M', 'o', 'U', 'b', '4487', '3337', '8749', 'r', 'L', 'p', '6515', '9645', 'J', 'B']

A:
Y, M, 1983, b
****