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.

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']
T, 3167, D, j, 7651, 5893, J, 2481, 371, 4257, h, 1251, 2973, 2031, 4373, 1271, 6829, O

1, ['n', 'y', 'k', 'F', '55']
n, y, k, F

8, ['b', '4223', '9807', 'x', '3457', '5039', 'D', 'X', 'C', '7361', 'P', 'r', 'I', '1449', 'o', '9315', 'x', '5973', '8745', '9769', 's', '8519', '8567', '8919', '6125', 'u', 'H', 'X', '9609']

b, 4223, 9807, x, 3457, 5039, D, X, C, 7361, P, r, I, 1449, o, 9315, x, 5973, 8745, 9769, s