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, ['2587', '7809', '8521', 'n', 'D', '6783', '221', '4225', 'm', '499', 'l', 'F', '4427', 'H', '3787', '8079', '7847', '7031', '4263', 'P', 'E', '827', 'Z', 'Z', '2685', 'h', '7199', 'D']

A: 2587, 7809
****
Q: 1, ['l', 'S', 'E', '6661', 'O']

A: l
****
Q: 3, ['t', '4339', '4027', '5569', '1715', 'v', '4709', '3151', 'L', 'm', '3115', 'g', '2959', 'A', 'E', '291', 'v', 'M', '5097', '9701']

A:
t, 4339, 4027
****