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, ['n', '2253', '7809', 'U', 'X', '5899', 'R', '6509']

Answer: n, 2253, 7809, U, X, 5899, R


Question: 2, ['H', 'F', 'J', 'X', 'S', 'r', '4103', 'N', '73', 'A', 'i']

Answer: H, F, J, X, S, r, 4103, N, 73


Question: 7, ['J', 'V', 'j', '3207', 'U', '5905', '8793', 'h', '8673', 'Y', 'e', 'M', 'j', 'g', '3573', '4025', '5555', '2079', 'x', '8959', '691', '1957', 'd', 'g', 'N']

Answer:
J, V, j, 3207, U, 5905, 8793, h, 8673, Y, e, M, j, g, 3573, 4025, 5555, 2079