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: 8, ['a', 'd', 'p', 'g', '7951', '6899', 'N', '3223', 'F', 'y', '7461', 'R', 'R', '6465', '8899', 'L', 'm', 'q', 'Z', '2509', '8693', 'z', '5351', 'x', 'Z', 'b', 'z', 'R']

A: a, d, p, g, 7951, 6899, N, 3223
****
Q: 8, ['R', '7001', 'D', '1335', 'Z', 'F', '4725', '5697', 'j', '7349', 'X', 'C', 'o', 'o', 'd', 'r', '6145', '43']

A: R, 7001, D, 1335, Z, F, 4725, 5697
****
Q: 7, ['5453', 'q', '7411', '8295', 'X', 'w', '9223', '3207', '1125', 'Z', '5765', 'k', 'h', 'b', 'N', '9331', 'z']

A:
5453, q, 7411, 8295, X, w, 9223
****