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

2, ['X', 'O', 'D', '7293', 'r', 'C', '9075', 's', 'X', '3037', 'k', '9989', '9417', '7901', 'D', 'M', 'r', 'F', 'L', '1601', '8645', 'T']
X, O, D, 7293, r, C, 9075, s, X, 3037, k, 9989, 9417, 7901, D, M, r, F, L, 1601

1, ['5097', 'c', 'f', '8629', '3365', 'U', 'a', '1939', 'O', '2977', 'e', 'P', '4363', 'O', '4513', 'H', '1405', 'K', 'f', '4271', '8241', 'e', 'c', '3711', 'F', '8353']

5097, c, f, 8629, 3365, U, a, 1939, O, 2977, e, P, 4363, O, 4513, H, 1405, K, f, 4271, 8241, e, c, 3711, F