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: 2, ['2987', '5215', 'n', 'D', 'w', 'C', '7047', 'R']

A: 2987, 5215
****
Q: 9, ['5735', '5945', '2361', 'I', 'a', 's', '3109', 'b', '5913', '9535', 'f', '1321', '4563', 'j', '1541', '8005', 'o', '383', '5645']

A: 5735, 5945, 2361, I, a, s, 3109, b, 5913
****
Q: 4, ['Y', '543', '735', '8671', 'U', 'r', 'm', '9533', '4419', '7861', 'c']

A:
Y, 543, 735, 8671
****