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, ['I', 'P', 'I', '9729', '359', '1947', '3337', '6291', 'M', 'L', 'Y', 'P', '4535', '4107', 'A', '7731', '3917', '5903', 'o', 'S', 'O', '9199', '8797', 'R']

A: I, P, I, 9729
****
Q: 1, ['p', 'H', 'v', 'q', 'm', 'F', 'd', 'x', 'C', 'K', 'I', '8601', '8247', 'g', 'S', 'q', 'Z', 'V', 'H', 'l', '5077']

A: p
****
Q: 5, ['B', '6047', 'B', 'C', 'S', 'o', '7903', '9057', 'z', '9841', '1859', '6553', 'P', 'z', 'u', '7881']

A:
B, 6047, B, C, S
****