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: 4, ['9827', '4159', '8267', 'B', '609', '2119', '7671', '6383', '6683', 'f', '8495', '9171', '5869', '2415', 'H', '7187', 'j', 'I', 'Y', 's', 'v', 'l', 'D']

Answer: 9827, 4159, 8267, B, 609, 2119, 7671, 6383, 6683, f, 8495, 9171, 5869, 2415, H, 7187, j, I, Y


Question: 2, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']

Answer: 977, Z, R, 8793, 2449, 2051


Question: 6, ['p', '8037', 'l', '2365', 'N', 'P', 'w', '1237', '109', '2851', 'x', '6647', '2719', 'Y', '6551', '1857', 'k', 'A', '9395', 'T', 'h']

Answer:
p, 8037, l, 2365, N, P, w, 1237, 109, 2851, x, 6647, 2719, Y, 6551