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]: 3, ['p', '7857', 'h', '7041', '7917', '1685', 'o', 'P', '5675', 'W', 'Z', 'L', 'W', 'z', '3111', 'm', 'n', '8823', 'R', '5619', '9219', 'M', 'a', '4991', '7801', '8387', '7483', 'Q', '789']
[A]: p, 7857, h, 7041, 7917, 1685, o, P, 5675, W, Z, L, W, z, 3111, m, n, 8823, R, 5619, 9219, M, a, 4991, 7801, 8387


[Q]: 1, ['n', '2253', '7809', 'U', 'X', '5899', 'R', '6509']
[A]: n, 2253, 7809, U, X, 5899, R


[Q]: 14, ['5643', '1075', 'T', '5949', 'G', '7063', '1301', 'f', '1099', 'Y', '5387', 'L', '6431', 'P', '2465', '2077', 'u', '9631', 'c', '7767', 'n', 'v', '9359', '6451', 'c', '9827', 'Q', 'S']
[A]:
5643, 1075, T, 5949, G, 7063, 1301, f, 1099, Y, 5387, L, 6431, P