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, ['p', 'z', 'n', '5759', 'i', '6115', '2605', 'i', 'O', '8597', 'G', 'A', 'd', 's', '1271', 'F', '6911']
[EX A]: p, z, n, 5759, i, 6115, 2605, i, O, 8597, G

[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]: 3, ['2069', '4471', '2767', 'Y', '1143', '1183', 'H', '7983', 'L', '5265', 'u', '2533', '8901', 'g', '3229', '8797', '2897', '825', '9573', '975', 's', '2983', 'U', 'T', '2661', '117', 'B']
[EX A]:
2069, 4471, 2767, Y, 1143, 1183, H, 7983, L, 5265, u, 2533, 8901, g, 3229, 8797, 2897, 825, 9573, 975, s, 2983, U, T