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: 10, ['G', '6913', '8663', 'T', 'q', 'f', '2601', '5891', '317', '845', '5811', 'X', 'd', 'K', '5683', '5679', 'h', '2247', 'm', 'p', '4683', '8285']

Answer: G, 6913, 8663, T, q, f, 2601, 5891, 317, 845, 5811, X


Question: 8, ['m', '4399', '9663', 'e', 'A', 't', '5629', '1611', '3415', 'F', 'x', 'H', 'E', '8461', '2341', '3385', '6163', '2239', '2189', '8123', 'y', 'D', '9571', '7377', '4305', 'l', '2901', 'O', '6273']

Answer: m, 4399, 9663, e, A, t, 5629, 1611, 3415, F, x, H, E, 8461, 2341, 3385, 6163, 2239, 2189, 8123, y


Question: 9, ['I', 'G', '8623', 'h', '1189', 'L', '4111', '8277', '1813', 'f', 'v', '5277', '1613', 'o', '6395', 'j', 'L', '223', 'Z', 'j', '1877']

Answer:
I, G, 8623, h, 1189, L, 4111, 8277, 1813, f, v, 5277