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]: 2, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']
[EX A]: D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419

[EX Q]: 2, ['7289', '5445', 'I', 'M', 'A', '523', '3831', 'd', 'k', 'H', 'B', 'f', 'J', '3723', '5911', 'n', 'P', '1647', 'F', '4287', '5909', '2037', 'u', '3593', 'x', '7863']
[EX A]: 7289, 5445, I, M, A, 523, 3831, d, k, H, B, f, J, 3723, 5911, n, P, 1647, F, 4287, 5909, 2037, u, 3593

[EX Q]: 1, ['E', 'L', '9951', '2057', '2545', '4157', 'A', '4739', '3677', 'g', '829', '3577', 'h', 'o', '3103', 'y', '9251', 'J', '6395', 't', 'N', 'i', 'p', 'Q', '9435']
[EX A]:
E, L, 9951, 2057, 2545, 4157, A, 4739, 3677, g, 829, 3577, h, o, 3103, y, 9251, J, 6395, t, N, i, p, Q