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]: 4, ['3057', '7783', 'o', 'M', '9309', 'V', '1425', 'X', 'f', 'y', 'q', '2831', 'y', 'A', '5567', 'c', '8645', 'S', 'd']
[EX A]: 3057, 7783, o, M, 9309, V, 1425, X, f, y, q, 2831, y, A, 5567

[EX Q]: 5, ['467', 'X', 'l', '895', 'F', '9837', 'H', 'y', 'n', '8395', '8195', 'Y', 'O', 'T']
[EX A]: 467, X, l, 895, F, 9837, H, y, n

[EX Q]: 4, ['P', 'x', '533', '9391', '5177', 'e', 's', '4085', '1601', '733', '1301', 'i', '8759', 't', '7721', 'i', 'f', '7105', '9437', 'y', 'H']
[EX A]:
P, x, 533, 9391, 5177, e, s, 4085, 1601, 733, 1301, i, 8759, t, 7721, i, f