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', 'i', 'z', '2467']

Answer: n, i, z


Question: 6, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']

Answer: 6381, u, d, 7355, t, X, n, S, s


Question: 7, ['9259', '745', '5723', 'V', '6787', 'c', '6545', '5023', '8103', '589', 'C', '1259', '3005', 'U', '2931', 'g', '3775', '181', 'V', 'u', '13', '5219', '1985', '3663', 'i', '9713']

Answer:
9259, 745, 5723, V, 6787, c, 6545, 5023, 8103, 589, C, 1259, 3005, U, 2931, g, 3775, 181, V