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, ['5811', 'n', '6307', 'f', 'Z', '5779', 'S', 'T', 'D', '261']

Answer: 5811, n, 6307, f, Z, 5779, S, T, D


Question: 3, ['8109', '3725', '4809', 'n', '1761', 'u', '7147']

Answer: 8109, 3725, 4809, n


Question: 12, ['6865', '6499', 'Y', 'b', 'O', '3167', 'X', '2921', '3415', 'L', '8695', '3735', 'O', '2505', '7965', 'F', '1091', 'E', 'S', '883', '5149', 'g', 'n', 'D', '9507', 'b', 'B', 'd']

Answer:
6865, 6499, Y, b, O, 3167, X, 2921, 3415, L, 8695, 3735, O, 2505, 7965, F