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]: 1, ['2935', 'H', '5139', 'n', 'X', '5999', 'C', '5147', 'J', '293', 'c', 'u', '9859', 'H', 'W', '2171', 'w', '3431', '1515']
[A]: 2935, H, 5139, n, X, 5999, C, 5147, J, 293, c, u, 9859, H, W, 2171, w, 3431


[Q]: 3, ['8775', '1153', '8869', '8361', '2365', '6205', '4699', '3019', '2465', 'E', 'S', 't']
[A]: 8775, 1153, 8869, 8361, 2365, 6205, 4699, 3019, 2465


[Q]: 12, ['J', 'X', '6043', '7423', '1799', 'w', 'H', 't', '923', '6959', '979', '4821', 'K', '339', '3181', 'I', '3533', 'Z', 'x', '5721', 'S', '2505', '1253', 'e', '9155', '2407', 'q', '6795', '3173']
[A]:
J, X, 6043, 7423, 1799, w, H, t, 923, 6959, 979, 4821, K, 339, 3181, I, 3533