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

Q: 1, ['1017', 's', '8107']

A: 1017
****
Q: 8, ['x', 'L', '8137', '649', 'h', '667', 'h', 'n', '7615', 'r', 'Y', '899', '2055', 'C', 'r', '3915']

A: x, L, 8137, 649, h, 667, h, n
****
Q: 4, ['5749', 'Q', 'W', 'Q', '645', '6993', 'Z', '9929']

A:
5749, Q, W, Q
****