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, ['q', '5717', 'a', 'V', 'r', '4107', '9445', 'A']

A: q, 5717, a, V
****
Q: 7, ['1049', '1685', '2447', 'f', 'R', 'Z', '8911', '1629', 'A', 'R', 'v', '343', 's', '5555', 's', '3509', '3017']

A: 1049, 1685, 2447, f, R, Z, 8911
****
Q: 3, ['8211', 't', 'J', '3621', '5103', 'w', 'P', '975', '4147']

A:
8211, t, J
****