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, ['4393', '1703', 'V', 'q']
4393, 1703

11, ['B', '6319', 'v', '4935', 'Z', 'S', 'f', '6741', 'L', '7673', '7711', '6209', '9567', 'f', '3441', '4093', '7455', '4675', 'm', 'A', 'b', '5163', '8539', 'G', '9645']

B, 6319, v, 4935, Z, S, f, 6741, L, 7673, 7711