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, ['2029', '1977', '3787', '5191', 'r', '589', '2539', '7135', '9819', '7501', 'k', '2491', 'h', '5173', '2983', 'S', 'Y', 'I', '7451', 'q', '2685', '6363', 'v', 'B', 'i']
[EX A]: 2029, 1977, 3787, 5191, r, 589, 2539, 7135, 9819, 7501, k, 2491, h, 5173, 2983, S, Y, I, 7451, q, 2685, 6363

[EX Q]: 1, ['y', 'e', 'y']
[EX A]: y, e

[EX Q]: 11, ['Q', '5555', 'r', '8651', 'v', 'S', 'U', '3633', '6005', 'f', '8445', '7153', 'e', '8685', 'U', '5641', '1973', 'E', 'w', '9523', 'f', 'y', '1171', 'Q', 'Z', '7219', 'M']
[EX A]:
Q, 5555, r, 8651, v, S, U, 3633, 6005, f, 8445, 7153, e, 8685, U, 5641