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: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']

Answer: 9331, 9975, G, p, 2841


Question: 2, ['o', '6313', 'b', '8807']

Answer: o, 6313


Question: 1, ['Z', '1477', '6559', 'o', 'u', '5241', '9255', 'm', 'x', '7957']

Answer:
Z, 1477, 6559, o, u, 5241, 9255, m, x