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, ['1017', 's', '8107']
1017

4, ['q', '5717', 'a', 'V', 'r', '4107', '9445', 'A']
q, 5717, a, V

1, ['e', '5831']

e