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: 4, ['g', 'x', 'c', 'P', 'P', 'T', '1765', '8999', '9509', '4159', 'K', 'z', 'r', '8389', 'W', '5627', 'O', '253', '2749', 'G', 'u', 'T', '5627']

A: g, x, c, P
****
Q: 3, ['R', '1883', '9741', 'z', '7709', 'B', '1805', '837', '4489', '9103', 'U', 'A']

A: R, 1883, 9741
****
Q: 3, ['X', '991', '9421', '7361', '5331', 'q', 'i', '8983', 'C', 'h', 'r', 'B', 'E', '7099', 'r', 'b', 'a', '3775', 'g']

A:
X, 991, 9421
****