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]: 7, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']
[EX A]: 6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627

[EX Q]: 1, ['819', '2779', 'j', '1773', '6615', 'Q', 'n', '5113', 'v']
[EX A]: 819, 2779, j, 1773, 6615, Q, n, 5113

[EX Q]: 5, ['303', '4219', 'q', '8509', '8663', '1121', 'q', 'x', 'T', 'f', 'H', 'B', '5427', 'j', '6369', '2623', 'd', 'Y', 'W', 'z', 'm', 'Z', 's', 'E', 'T']
[EX A]:
303, 4219, q, 8509, 8663, 1121, q, x, T, f, H, B, 5427, j, 6369, 2623, d, Y, W, z