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

8, ['3017', 'J', 'U', '1787', '9841', '3611', 'l', '7137', 'S', '7435', 'E', 'E', 'C', '2829', 'Q', 'A', '4259']
3017, J, U, 1787, 9841, 3611, l, 7137

2, ['5021', '1715', 'F', '7107']
5021, 1715

1, ['a', '4735', '9853', '405', 'Q', '2615']

a