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

5, ['B', '311', '871', 'A', 'H', '4065', '1417', 'z', 'e', 'Z', '6539']
B, 311, 871, A, H

1, ['k', 'u', '7393']
k

2, ['S', '8045', '7201', '5397', 'k', '8977', 'd', 'o', '3343', '2663', '565', '9403', 'F', 'H', 'G', 'l', 'g', 'j']

S, 8045