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: 2, ['X', 'O', 'D', '7293', 'r', 'C', '9075', 's', 'X', '3037', 'k', '9989', '9417', '7901', 'D', 'M', 'r', 'F', 'L', '1601', '8645', 'T']

Answer: X, O, D, 7293, r, C, 9075, s, X, 3037, k, 9989, 9417, 7901, D, M, r, F, L, 1601


Question: 2, ['7909', '2675', 'Y', '8083', '379', 'K', '9823', '7959', 'w', '7649', 'C', 'S']

Answer: 7909, 2675, Y, 8083, 379, K, 9823, 7959, w, 7649


Question: 2, ['9501', '5053', 'P', 'n', 'x', '2071', 'a', '2485', 'X', '3955', '8003', '243', '7501', '1687', '9747', '4093', 'l', 'w']

Answer:
9501, 5053, P, n, x, 2071, a, 2485, X, 3955, 8003, 243, 7501, 1687, 9747, 4093