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.

5, ['2183', '8329', '9027', 'V', '8953', 'y', 'P', 'a', '1215', '9759', '5021', 'L', 'c', '6181', '4637', 'i', '2985', 'S', '3107', '8439', '6093', 'Y', 'B', '895']
2183, 8329, 9027, V, 8953, y, P, a, 1215, 9759, 5021, L, c, 6181, 4637, i, 2985, S, 3107

9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
X, 2625, l, 533, j, 265, O, h, 9031

5, ['G', 'K', '3983', '7995', '3927', '9983', 'O', 'm', 'W', 'j', 's', 'U', '2255', '5901', 't', '9437', 'L', '1993', 'b', '4777', '3163', '5079', '2757', 'O', 'o', 'q', '6601']

G, K, 3983, 7995, 3927, 9983, O, m, W, j, s, U, 2255, 5901, t, 9437, L, 1993, b, 4777, 3163, 5079