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, ['h', '2449']
h

4, ['1799', '7727', 'w', '4585', '3837', 'A', 'B', 'a', 'J', '9783', 'v', '8199', 'o', 'F', '3897', '7703', '1983']
1799, 7727, w, 4585

6, ['Z', 'S', '457', '2145', 's', 'm', 'v', '4183', '4279', 'G', '4803', '191', 'G', 'J', 'Y', '8575', 'L', 'U', '6639', 'Z', 'A']

Z, S, 457, 2145, s, m