In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.

Q: 5, ['9711', '8403', '2867', '3617', '7597', '2907', '7559', '4999', '7697', '1839']

A: 9711, 8403, 2867, 3617, 7597
****
Q: 1, ['I', '8905', 'F', 'w', 'A', 'B', 'm', 'a', '5739', '8447', 'Q', '9069', '3037', '8683', '6781', 'y', 'X', '4001', '1741', '1425', '5475', '4905']

A: I, 8905, F, w, A, B, m, a, 5739, 8447, Q, 9069, 3037, 8683, 6781, y, X, 4001, 1741, 1425, 5475
****
Q: 12, ['8099', '5245', '7577', '8539', 'v', 'j', '2145', '8335', '1947', 'X', '4241', '9779', '1985', '1881', 'H', 'k', '1425', 'Q', 'w', 'L', '1263', 'e', 'r', 'A', '9691', '1405', '1675']

A:
8099, 5245, 7577, 8539, v, j, 2145, 8335, 1947, X, 4241, 9779, 1985, 1881, H
****