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: 5, ['D', 'y', '145', '7913', '9413', '5897', '2123', 'b', '1383', 'y', 's', '4813', 'B', '1261', 'r', 's']

A: D, y, 145, 7913, 9413
****
Q: 3, ['7677', 'k', '8697', 'N', 'v', '351', '6619', 'v', '8559', 'Q', '9151', '8655', 'l', 'o', '2519', '9671', 'N', '2779', 'L']

A: 7677, k, 8697
****
Q: 8, ['I', '6691', 'E', '979', 'L', 'p', 'R', 't', '347', '8937', '9947', 'w', '3215', '9645', '5251', '5759', 'L', 'b', '4903', '283', '279', '2611']

A:
I, 6691, E, 979, L, p, R, t
****