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, ['1455', 'C', '4659', 'A', '557', 'n', 'R', '4853', '9623', 'Y', '5985', '8355', 'q']
[EX A]: 1455, C, 4659, A, 557, n, R, 4853

[EX Q]: 9, ['M', '5097', 'b', 'W', '4627', 'i', 's', 'H', '3203', 'V', '2689', 'Y', 'G', 'G', 'O', '7913', '4265', '5203', '8085', 'c', '6847', '7825', 'O', 'K', '8371', '8899', '7721', '6695', 'r', 'q']
[EX A]: M, 5097, b, W, 4627, i, s, H, 3203, V, 2689, Y, G, G, O, 7913, 4265, 5203, 8085, c, 6847

[EX Q]: 10, ['1699', 'P', '7717', 'E', '821', '5857', 'i', 'I', 'N', '8165', '3665', '7853', 'L', 'Y', '1063', 'R', '669', 'Z', 'S', '6209', '8273', '1815', 'Z', 'Z', '1553']
[EX A]:
1699, P, 7717, E, 821, 5857, i, I, N, 8165, 3665, 7853, L, Y, 1063