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

7, ['5673', 'R', 'm', 'F', '9967', '4471', '9833', 'I', 'c', 'Z', 'P', 'e', '9693', '3833', '8317', 'U', 'Y', 'L']
5673, R, m, F, 9967, 4471, 9833

4, ['D', '577', 'Q', '4153', '1759', 'L', 'M', 'B']

D, 577, Q, 4153