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, ['3395', '1491', '6533', 'W', 'Q', 'I', 'R']
[EX A]: 3395, 1491, 6533, W

[EX Q]: 4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']
[EX A]: 971, 3213, E, o

[EX Q]: 10, ['J', '5353', '3509', 'j', 'p', 'u', '3145', 'J', 'G', '4801', 's', 'l', '6981', 'Q', '1211', 'o', '1031', '6271', 'K', '3611', '9249', 'F', 'l', 'b', '1199', 'i', 'k', '935']
[EX A]:
J, 5353, 3509, j, p, u, 3145, J, G, 4801, s, l, 6981, Q, 1211, o, 1031, 6271