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, ['b', 'j', '5513', '2675', 'X', 't', '5799', '3691', 'q', 'v', 'X', 'F', 'Z', '3995', 'K', '5143', 'W', 'L', 'D', 'Y', 'G', 'E']
[EX A]: b, j, 5513, 2675, X, t, 5799, 3691, q, v, X, F, Z, 3995, K, 5143, W, L

[EX Q]: 1, ['T', '3241', 'k', 'r', 'x', '6509', 'Z']
[EX A]: T, 3241, k, r, x, 6509

[EX Q]: 1, ['1715', 'f', 'S', '6935', '3397', '17', '7269', 'Z', 'b', 'T', 'I']
[EX A]:
1715, f, S, 6935, 3397, 17, 7269, Z, b, T