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]: 9, ['M', '5', 'j', 'D', '8995', '9639', 'C', '431', '9105', '525', 'Q', 'O', '3657', '6137', 'u', 'c', '3099', '6233']
[EX A]: M, 5, j, D, 8995, 9639, C, 431, 9105

[EX Q]: 14, ['9735', '7407', '2315', '635', '4435', 'I', 'q', '4041', 'Z', '8667', 'x', 'n', 'p', 'h', '1391', '6509', 'u', 'O', '5497', '2601', '6359', 'Z', 'g', 'w', 'g', '2135', 'Z', 'a']
[EX A]: 9735, 7407, 2315, 635, 4435, I, q, 4041, Z, 8667, x, n, p, h

[EX Q]: 1, ['N', '7345', 'G', 'Y', 'X', '9817', '9733', '5087', '8759', '3949', '7035', 'q', 'f', '3141', '5343', '1771', '6043', 'B', '8369', 'X', '7269', '5003', '2223']
[EX A]:
N, 7345, G, Y, X, 9817, 9733, 5087, 8759, 3949, 7035, q, f, 3141, 5343, 1771, 6043, B, 8369, X, 7269, 5003