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]: 2, ['843', 'v', 'B', '8973', '3865', 'R', '3077', 'H', '1685']
[A]: 843, v, B, 8973, 3865, R, 3077


[Q]: 3, ['8149', 'k', '6879', '8759', 'V', 'B', '6905', '6223', '1669', 'o', 'V', 'Z', '7441', '5477', '2353']
[A]: 8149, k, 6879, 8759, V, B, 6905, 6223, 1669, o, V, Z


[Q]: 13, ['a', '4283', '5687', 'G', '3081', 'F', '2279', 'w', '2631', '6641', '3471', 'h', 'a', '5291', '3605', 'z', '7051', 'i', 'G', 'B', '455', 'L', '5993', 'B', '2871', '6565', '7273', 'L', '3029', 'a']
[A]:
a, 4283, 5687, G, 3081, F, 2279, w, 2631, 6641, 3471, h, a, 5291, 3605, z, 7051