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, ['1671', '4285', 'S', 'e', '943', 'q', 'w', 'G', 'G', '8205', 'T', '2911', '6197', 'o', '1131', 'l', 'm', 'd', '7855', '1465', '8535']

A: 1671
****
Q: 9, ['513', 'l', '3147', '6371', '9377', '3385', 'i', 'g', '8879', 'W', 'm', '8955', 'a', '8763', '5997', '8721', '5433', 'C', '2141', 'd', '3361', 'L', 'B', 'Q', '6937', '5021', '9307', 'c']

A:
513, l, 3147, 6371, 9377, 3385, i, g, 8879
****