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: 7, ['U', 'P', 'd', '8355', '6819', 'x', 'Q', 'e', 'R', 'H', '2257', 'o', '1669', 'R', '2281', '253', 'j', '8109', '689', '4897']

A: U, P, d, 8355, 6819, x, Q
****
Q: 3, ['O', 'I', '1415', '4783', '935', 'u', 'w']

A: O, I, 1415
****
Q: 10, ['5805', '8789', 'J', 'C', 'c', 'B', 'e', 'U', '9203', '4431', 'a', '8571', 'T', 'a', '6225', '8583', '1275', 'a', '7477', '1239', '3923']

A:
5805, 8789, J, C, c, B, e, U, 9203, 4431
****