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]: 8, ['2311', 'D', '2365', '6047', 'R', '5279', '9229', 'R', 'M', '2025', 'i', '3463', '3585', '5637', 'e', 'b', 'T', '4147']
[EX A]: 2311, D, 2365, 6047, R, 5279, 9229, R, M, 2025

[EX Q]: 8, ['4647', '6043', 'f', '6015', '289', 'f', 'E', '1355', 'e', 'y', 'i', '1279', '9563', 'c', 'U', 'd', '4333', '2351', 'Y', 'E', 'o', '4973', '475', '7943', '3199']
[EX A]: 4647, 6043, f, 6015, 289, f, E, 1355, e, y, i, 1279, 9563, c, U, d, 4333

[EX Q]: 7, ['1225', 'q', '2271', '301', '9015', '5467', '7895', '4319', '5409', 'J', '7673', 'u', 'c', 't', 'u', 'O', '3745', '9583', '8797', 'Y', '8819', 'p', '1745', '4077', 'B', '8847', '9091', '1089', 'U', 'h']
[EX A]:
1225, q, 2271, 301, 9015, 5467, 7895, 4319, 5409, J, 7673, u, c, t, u, O, 3745, 9583, 8797, Y, 8819, p, 1745