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]: 3, ['u', 't', '6863', 'b', 'z', 'e', '7653', 'y', 'G']
[EX A]: u, t, 6863, b, z, e

[EX Q]: 3, ['7835', '8157', 'q', '1331', '9025', '8057', '1681', '4049', '5333', 'H', '8769', 'h', 'y']
[EX A]: 7835, 8157, q, 1331, 9025, 8057, 1681, 4049, 5333, H

[EX Q]: 3, ['23', 'E', '6433', 'Q', '6983', 'R', '5821', '7003', '9805', 'l', 'e', '1197', '7951', '2697', 'U', '8925', '843', '7619', '1015', '8791', 'Q', 'p', 'Q', '7713', '9023', 'Z', '9279', '2465', 'o']
[EX A]:
23, E, 6433, Q, 6983, R, 5821, 7003, 9805, l, e, 1197, 7951, 2697, U, 8925, 843, 7619, 1015, 8791, Q, p, Q, 7713, 9023, Z