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

1, ['A', '4687', 'n', 'T', '7799', '4485', 'z', 'a', '1515', 'd', 'I', '4367', 'Z', 'g']
A

9, ['9041', '9431', '8575', 'Q', '7957', '5045', '599', 'N', 'U', 'z', 'T', '5813', '7063', '3079', '3087', '6353', 'r', 'l', '3599']
9041, 9431, 8575, Q, 7957, 5045, 599, N, U

8, ['3751', 'C', '7209', 'F', 'o', '5303', '3247', 'i', '4167', '2387', 'f', 'v', 'M', '4019', 'Q', '5941', '2471', 'C', 'S']

3751, C, 7209, F, o, 5303, 3247, i