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]: 6, ['a', '9489', 'E', '8589', 'K', '4281', 'X', 'G', '5635', '431', 'p', 'n', 'h']
[A]: a, 9489, E, 8589, K, 4281


[Q]: 5, ['5403', 'R', '8935', '2635', 'n', '2979', 'M', 'g', 'i', '8143', '5401', '5227', '2457', 'Q', 'k', 'l', '3729', '9507', '8227', '5909', 'z', 'c']
[A]: 5403, R, 8935, 2635, n


[Q]: 3, ['6937', '1871', '4489', 'W', '8769', '6315']
[A]:
6937, 1871, 4489