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.
--------
Question: 1, ['6421', '8369', 'Y', '6487', '7131', '2359', 'e', '2763', 'L', '6021', '1685', 'A', '9371', '7243', 'I', 'T', '659', 'E', '6979']

Answer: 6421, 8369, Y, 6487, 7131, 2359, e, 2763, L, 6021, 1685, A, 9371, 7243, I, T, 659, E


Question: 1, ['4549', '1739', '2901', 'X', 'y', 'R', 'w', 'b']

Answer: 4549, 1739, 2901, X, y, R, w


Question: 1, ['9357', '7987', '8001', '8527', '515', '1473', 'X']

Answer:
9357, 7987, 8001, 8527, 515, 1473