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

3, ['3509', 'e', '9747', 'I', '3853', '2695', 'k', '6105', 'Q', 'y', '5487', '8863']
3509, e, 9747

2, ['8561', '817', 'z', '4611', '2227', '3747', 'L']
8561, 817

1, ['S', '5355', '8305', '969', '6605', '4061', 'm', '1131', '695', '2115', '2339', '6131', 'C', 'J', '2485', 'o', '9115', 'B', '5281', '7321', 'E', 'y', '6517', 'V', '7947', '8465', '8863', '271', 'j', '5247']

S