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, ['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, ['7721', 'W', 'o', 'R', '2933', 'N', '9829', '707', 'A', 'a', '8035', 'i', 'B', 'j', '319', 'v', '5879']
[EX A]: 7721, W, o, R, 2933, N, 9829, 707, A, a

[EX Q]: 4, ['5693', '3355', '7307', 'b', 'e', '6869', 'G', 'k', 'V', 'T', '6001', '5159', '3335', 'L', 'A', '33', '4791', '7117', 'n']
[EX A]:
5693, 3355, 7307, b, e, 6869, G, k, V, T, 6001, 5159, 3335, L, A