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, ['S', '4001', '1615', 'P', '7869', '4079', 'g', 'S', '4357', '5031']

A: S, 4001, 1615, P
****
Q: 1, ['a', '2963', '5293', '1111', '1791', 'e', '1569', 'H', '5181', '3933', '1795', 'W', '1725', 'S', '9353', '7777', '8493', 'e', 'l', 'z', 'F', 'N', 'f', '5351', 'X', '6833']

A: a
****
Q: 4, ['B', 'I', '247', '7377', '6109', 'p', 'Q', '6863', 'M']

A:
B, I, 247, 7377
****