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.

[EX Q]: 5, ['8925', 'V', '3519', 'c', 'i', 'X', 'g', 'P', 'C', '5655', 'Y', 'p', '2233', 'T', 'C', '8745', '1121', 'a', 'S', '8989', '6761', 'r', '8423', 'K', '5975', '2533']
[EX A]: 8925, V, 3519, c, i, X, g, P, C, 5655, Y, p, 2233, T, C, 8745, 1121, a, S, 8989, 6761

[EX Q]: 2, ['231', 'U', '9227', '5663', 'a', 'F', 'Y', 'n', 'i', 'N', 'D', 'u', 'I', 'g', '1759', '6709', '9711', 'z', 'M', '6325', '4901', '3913', '1679', 'z', 'h', '7103', 'R', '9963', 'D', '5259']
[EX A]: 231, U, 9227, 5663, a, F, Y, n, i, N, D, u, I, g, 1759, 6709, 9711, z, M, 6325, 4901, 3913, 1679, z, h, 7103, R, 9963

[EX Q]: 3, ['7541', '8741', 'P', '2021', '7835', 'w', 'H', '7435', '8241', 'Y', 'x', 'O', 'v', '6051', 'V', '9145', 'p', 'W', 'f', '9135', '7549', '4141', 'I', '4635', 't', 's', 'N']
[EX A]:
7541, 8741, P, 2021, 7835, w, H, 7435, 8241, Y, x, O, v, 6051, V, 9145, p, W, f, 9135, 7549, 4141, I, 4635