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, ['9417', '9391', '4331', 'q', '9721', 'w', '5021', '6915', '6291', 'U', 'B', 'H', '7511', '8761', 'w', '6675', '6919', '5193', 'e', '4799', '6435', 'D', '5285', 's']
[EX A]: 9417, 9391, 4331, q, 9721, w, 5021, 6915, 6291, U, B, H, 7511, 8761, w, 6675

[EX Q]: 2, ['6137', 'f', 'I', '8297', 'd', 'L', '6471', '2965', 'H', '533', '2809', 'U', 'A', '7481', 'l', 'e', 'n', 'd', '6589', 'n', 'c', 'X', 'I', 'I', '3217']
[EX A]: 6137, f, I, 8297, d, L, 6471, 2965, H, 533, 2809, U, A, 7481, l, e, n, d, 6589, n, c, X, I

[EX Q]: 2, ['1433', '3725', '6333', '6429', 'M', 'O', 'G', '3507', '2057', '7627', 'y']
[EX A]:
1433, 3725, 6333, 6429, M, O, G, 3507, 2057