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: 13, ['y', '8539', '875', '5703', 'G', '6099', 'G', '8579', 'p', 'r', 'O', '2387', 'S', 'L', 'V', 'U', 'C', 'R', 'Z', '4991', '7897', '4887', '391', 'a', '2195', '6605', 'F', 'U']

Answer: y, 8539, 875, 5703, G, 6099, G, 8579, p, r, O, 2387, S, L, V


Question: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']

Answer: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A


Question: 4, ['N', '3987', '6955', '9717', '3395', '9447', '4203', 'W', '4581', '9795', 'o', '6647', '8541', '8179']

Answer:
N, 3987, 6955, 9717, 3395, 9447, 4203, W, 4581, 9795