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, ['8883', '1411', '9753', '3947', 'Y', 'E', 'B', '4923', 'B', 'E', 'd', '1659', 'y', 't', 'd', '2321', 'C', 'M', '9013', 'U', '579', '399']
[A]: 8883, 1411, 9753, 3947, Y, E, B, 4923, B, E, d, 1659, y, t, d, 2321, C, M, 9013, U


[Q]: 8, ['5113', 'k', 'J', 'f', 'E', 'v', 'd', 'g', 'c', '6189', 'x', '2265', '4145', '1355', '5197', 'K', '1497', 'O', '7823']
[A]: 5113, k, J, f, E, v, d, g, c, 6189, x


[Q]: 3, ['3465', '7341', 'N', 'O', '8141', '5371']
[A]:
3465, 7341, N