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, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']
[A]: 971, 3213, E, o


[Q]: 2, ['o', '6313', 'b', '8807']
[A]: o, 6313


[Q]: 7, ['3491', '3761', '6971', 'g', '6751', '6113', '8579', 'f', 'F', 'T', '6889', '8651', 'S', '7893', 'G', '4443', '9711', 'Y', 'G', 'F', '9081', 'Y', 'V', '4937', '5721', '1899', 'v', 'd', 'M', 'f']
[A]:
3491, 3761, 6971, g, 6751, 6113, 8579, f, F, T, 6889, 8651, S, 7893, G, 4443, 9711, Y, G, F, 9081, Y, V