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, ['E', '7527', 'Q', 'Y', 'v', '1535', '6895', '8221', '5379', 'z']

A: E, 7527, Q
****
Q: 3, ['9077', '271', '6215', 'V', '6265', 'H', 'D', '5649', 'N', 'F', '4295', '6709', '7265', 'M', '473', 'G', '5207', '3763', '7849', '7547', '6785', 'a', '4709', 'L', '6877', '9551', '2437', 'a', 'B']

A:
9077, 271, 6215
****