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, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']

Answer: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079


Question: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']

Answer: 9331, 9975, G, p, 2841


Question: 13, ['1439', 'P', 'P', '327', '7727', '9005', 'H', '9821', 'J', '5625', 'R', '7953', 'Q', 'F', 'c', '9587', '7843', '2353', '8947', 'S', 'i', 'U', 'B', 'Q', '5119', '5375', 'F', '4093']

Answer:
1439, P, P, 327, 7727, 9005, H, 9821, J, 5625, R, 7953, Q, F, c