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: 1, ['J', 'Q', 'G', '221']

A: J
****
Q: 4, ['i', '6089', '1947', '1825', '4171', '8537', 'J', '313']

A: i, 6089, 1947, 1825
****
Q: 4, ['5187', '7749', 'h', 'r', 'q', '3155', '2485', '6177', 'n', '491', 'p', '9369', 'R', '4087', '9001', 'U', '5193', 'm', '1299', '8911']

A:
5187, 7749, h, r
****