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: 2, ['K', 'x', 'B', 'L', 'a', 'P', 'w', 'R', '1495', '737', 'v', '4079', '6945', '4801', 'c']

Answer: K, x, B, L, a, P, w, R, 1495, 737, v, 4079, 6945


Question: 3, ['t', 'k', 'Q', '3765', '6319', '3147', '1093', 'K', 'l', '2533', '1529']

Answer: t, k, Q, 3765, 6319, 3147, 1093, K


Question: 13, ['T', '5235', '123', '785', '6491', '8285', '9337', 'K', '9771', '8181', '4531', '6587', 'm', 'F', 'E', 'R', '171', '7431', '1083', '6327', 'I', '3075', 'i', 'O', 'S', 'a', '5323', '9123', 'G', '1269']

Answer:
T, 5235, 123, 785, 6491, 8285, 9337, K, 9771, 8181, 4531, 6587, m, F, E, R, 171