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: 1, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']

Answer: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079


Question: 15, ['9033', '1873', 'n', '6945', '3003', '699', 'J', '3639', 'o', '7857', 'u', 'J', '8693', '935', 'd', 'A', '3509', 'c', 'L', 'H', '8777', 'W', 'G', '371', '6467', '6183', '9059', '4653', '8305', 'O']

Answer: 9033, 1873, n, 6945, 3003, 699, J, 3639, o, 7857, u, J, 8693, 935, d


Question: 1, ['t', 't', 'M', '8943', 'y', 'B', 'q', 'e', 'Q', '5129', 'd', 'E', 'G']

Answer:
t, t, M, 8943, y, B, q, e, Q, 5129, d, E