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: 2, ['U', 'z', 'u', '2359', 'C', '3249', 'M']

A: U, z
****
Q: 7, ['E', '2753', 'f', 'J', '5865', 'u', '865', '1617', '5347', '1423', '5127', 'n', '7993', '8555', '2769', 'V', 'r', 'H', 'A', 'd', 'Y', '8277', 'd', 'n']

A: E, 2753, f, J, 5865, u, 865
****
Q: 5, ['7877', 'u', 'U', 'M', 'P', 'M', '4257', '2423', 'u', '6421']

A:
7877, u, U, M, P
****