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, ['x', '7625', 't', 'P']

Answer: x, 7625, t


Question: 4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']

Answer: 971, 3213, E, o


Question: 6, ['M', '3767', 'p', '8625', 'Y', 'Z', '961', '3109', '6115', '4233', 'C', '8131', '6471', 'U', '3255', '1213', 'L', '3785', 'z', '8903', '1891', '383', '9335', 't', '957', 'w', '4787']

Answer:
M, 3767, p, 8625, Y, Z, 961, 3109, 6115, 4233, C, 8131, 6471, U, 3255, 1213, L, 3785, z, 8903, 1891