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]: 11, ['T', '3167', 'D', 'j', '7651', '5893', 'J', '2481', '371', '4257', 'h', '1251', '2973', '2031', '4373', '1271', '6829', 'O', '365', '8495', 'N', '7067', 'n', '4805', 'A', '547', '521', 'g', '2299']
[EX A]: T, 3167, D, j, 7651, 5893, J, 2481, 371, 4257, h, 1251, 2973, 2031, 4373, 1271, 6829, O

[EX Q]: 3, ['Z', 'M', '8851', '3777', '141', 'l', 'U', 'J', '8575', 'G', 'Q', 'I', 'Y', 'r', '9043', 's', '9693', 'q', '5561', 'o', '8013', 'B', '8443', 'H', 'j', '5763', '3']
[EX A]: Z, M, 8851, 3777, 141, l, U, J, 8575, G, Q, I, Y, r, 9043, s, 9693, q, 5561, o, 8013, B, 8443, H

[EX Q]: 9, ['j', 'x', 'i', 'C', '7111', '415', '8269', '6797', 'B', '4097', '2231', 'A', '6083', 'K', '3603', 'i', '2239', '4527', 'k', 'd', '9669', 'a', 'H', '7409', 'R', '5583', '9013', 'g', 'Y', 'r']
[EX A]:
j, x, i, C, 7111, 415, 8269, 6797, B, 4097, 2231, A, 6083, K, 3603, i, 2239, 4527, k, d, 9669