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]: 8, ['x', '9567', 'T', 'y', '2253', '7641', '5451', 'j', 'q', '6853', '4769', '9425', 'y', '61', '1439', 'A', '7223', 'R', 'c', 'n', 'N', '9237', 'V', 'V', '5655', 't']
[A]: x, 9567, T, y, 2253, 7641, 5451, j, q, 6853, 4769, 9425, y, 61, 1439, A, 7223, R


[Q]: 2, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']
[A]: t, 51, 4787, 2989, o, J, 7547, 5727, 5705


[Q]: 7, ['8409', '1987', 'r', 'Q', 'm', 'a', 'V', '1239', '4341', 'e', '2371', 'Y', '1085', 'l', '4561', '4717', '2903', 'Z', '9815']
[A]:
8409, 1987, r, Q, m, a, V, 1239, 4341, e, 2371, Y