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]: 4, ['A', '865', 'W', 'T', 'L', 'X', '9859', 'q', '8911', '717', 'Q', 'F', 'e', '2691', '3913', '5015', 's', 'Q', 'g', 'B', '4665', '8957']
[A]: A, 865, W, T, L, X, 9859, q, 8911, 717, Q, F, e, 2691, 3913, 5015, s, Q


[Q]: 2, ['7909', '2675', 'Y', '8083', '379', 'K', '9823', '7959', 'w', '7649', 'C', 'S']
[A]: 7909, 2675, Y, 8083, 379, K, 9823, 7959, w, 7649


[Q]: 11, ['g', 'J', '9427', '4707', 'J', '1621', '9943', '8497', 'r', '2667', '4233', 'P', '7213', 'p', '6515', 't', 'k', '8077', '2697', 'r', '1603', 'T', 'a', 'i', 'c', '9043']
[A]:
g, J, 9427, 4707, J, 1621, 9943, 8497, r, 2667, 4233, P, 7213, p, 6515