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: 7, ['O', 'G', '303', 'J', '8545', 'u', '1983', 'u', '425', 't', '8249', 'i', '4727', '6039', 'k', '1927', 'z', '4429', '4131', '8543', '9127', 'J']

Answer: O, G, 303, J, 8545, u, 1983, u, 425, t, 8249, i, 4727, 6039, k


Question: 6, ['8827', '6021', '6397', '71', 'u', 'l', '4735', '4253', '2233', '7871', 'j', '5375', '4627', 'E', '2221', 'P', '3249', 'Z']

Answer: 8827, 6021, 6397, 71, u, l, 4735, 4253, 2233, 7871, j, 5375


Question: 10, ['S', '213', 'a', 'R', '9743', 'z', '5415', '2175', '4903', '3703', '1693', '8343', '6065', '8927', '775', 'H', 'a', 'L', 'E', 'm', '2341']

Answer:
S, 213, a, R, 9743, z, 5415, 2175, 4903, 3703, 1693