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, ['2547', 'R', '7181', '5951', '4775', 'X', 'b', '5095', '1717', '2149', '9277', 'U', '5629', '6667', '1651', 'G', '3441', 'N', '1875', 'v', '277', 'E', '893', '2441', 'T', 'f']
[A]: 2547, R, 7181, 5951


[Q]: 5, ['P', '8965', '9559', 'j', 'H', 'D', '435', 'F', '4667', '2971', '4355', 's', '5231', '5265', '2233', 'S', 't', '1489', 'y', 'N', 'Z', '1697', '8841', '5163', '523', 'g', 's']
[A]: P, 8965, 9559, j, H


[Q]: 6, ['f', '807', '3563', 't', '1961', 'f', 'q', '1903', 'm', 'Y', 't', '5427', '7489', 'Q', 'Z', '883', 'Q', 'E', 'v', 'b', 'a', 'O', '1519', 'q', '3547', 'S']
[A]:
f, 807, 3563, t, 1961, f