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: 5, ['4139', 'F', '8999', '8453', 'N', 'U', '9985', 'S', '3075', 'H', '1547', '4841', 'B', '1685', 'M', 'G', 'G', '8519', '8089', '1081', 'x', 'h', 'D', '7615', 'i', 'Q', 'v', '7891', 'z']

A: 4139, F, 8999, 8453, N
****
Q: 4, ['G', '1401', '4429', '3961', '2905', 'D', 'k', '597', '7039', 's', '9955', 'd', '5657', '1259', 'G', 'b', 'M', '915', 'p']

A: G, 1401, 4429, 3961
****
Q: 8, ['P', '6883', '6129', 'q', 'k', 'D', '3771', 'q', '2997', '8993', 'I', '7249', 'A', '5791', 'o', '8713']

A:
P, 6883, 6129, q, k, D, 3771, q
****