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]: 3, ['x', 'y', 'M', '9519', '6553', '7497', 'j', '9587', 'g', '9393', 'C', 'T']
[EX A]: x, y, M, 9519, 6553, 7497, j, 9587, g

[EX Q]: 3, ['r', '8867', '8469', '67', '6845', '7875', 'n', '9255', '6723', '1609', '1589', 'T', 'H', '5767', 'e', '5283', '8659']
[EX A]: r, 8867, 8469, 67, 6845, 7875, n, 9255, 6723, 1609, 1589, T, H, 5767

[EX Q]: 9, ['n', '7799', '727', '6257', '5395', '3745', 'l', '2763', 'e', '5013', '5969', 'D', 'w', 'E', 'Z', '6697', 'y', '3127', 'P', 'V', '3177', '1905', '9745', '8437', 'e', 's']
[EX A]:
n, 7799, 727, 6257, 5395, 3745, l, 2763, e, 5013, 5969, D, w, E, Z, 6697, y