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]: 6, ['4101', '3515', '7531', '5413', 'o', 'M', '577', '265', '6957', '1919', 'R', 'u', 'I', '7995', '4437', '5393', 'D', '3235', '7859', 'N', '5469', 'E', '2199', '9647', '8557', '8371', 'g', '411']
[EX A]: 4101, 3515, 7531, 5413, o, M, 577, 265, 6957, 1919, R, u, I, 7995, 4437, 5393, D, 3235, 7859, N, 5469, E

[EX Q]: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']
[EX A]: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q

[EX Q]: 9, ['1711', '6973', '4195', 'Z', '1741', 'E', 'Q', 'G', '1957', '1365', 'O', 'i', '799', '2391', 'U', 'S', 'p', '473', '6943', '2331', '6561']
[EX A]:
1711, 6973, 4195, Z, 1741, E, Q, G, 1957, 1365, O, i