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, ['3881', 'g', 'Z', 'G', 'a', '7571', '6761', 'i', 'X', '9349', '4007', 'i', 'W', '2989', 'W', 'B', '6747', 'S', 'p', 'O', 'U', '5469']

Answer: 3881, g, Z, G, a, 7571, 6761, i, X, 9349, 4007, i


Question: 1, ['B', 'X', 'c', 'J']

Answer: B, X, c


Question: 12, ['f', 'x', '621', 'A', 'p', 't', '6109', '5169', '4109', '6777', '8287', 'p', '9225', '6175', '4887', 'm', 'I', 'm', 'b', '2483', '2367', 'e', '2897', 'A', 'p', '199', '3067', '5535']

Answer:
f, x, 621, A, p, t, 6109, 5169, 4109, 6777, 8287, p, 9225, 6175, 4887, m