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, ['m', 'R', '8585', '5383', 't', '5309', 'e', '5017', '1347', 'e', '3715', 't', 'h']
m, R, 8585, 5383

7, ['B', '1661', 'w', 'I', '5301', '5073', 'O', 'Q', '4421', 'z', '7915', 'C', 'y', '5237', '729', '3317', '8987', '9225', 'E', 'l', 'K', 'b', 'a', 'H', '9423']

B, 1661, w, I, 5301, 5073, O