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, ['8241', 'Q', 'm', '1117', 'M', '7055', 'R', 'E', 's', '1745', 'g', 'V', '9185', '8203', 'Y', 'N', 'F', '2225', '1859', '4107', '5543', '37', 'X', '3451', '2265', '9289', '5619', '5851', 'h', '8059']

Answer: 8241, Q, m, 1117, M, 7055, R, E, s, 1745, g, V, 9185, 8203, Y, N, F, 2225, 1859, 4107, 5543, 37, X, 3451, 2265, 9289, 5619, 5851, h


Question: 12, ['125', 'm', 'Z', 'U', '5187', '1847', '3597', 'x', 'l', '5521', '6473', '3801', 'E', '3577', '6383', '7463', '7343', '6981', 'E', 'p', 'H', '7193', 'K', '4875']

Answer: 125, m, Z, U, 5187, 1847, 3597, x, l, 5521, 6473, 3801


Question: 3, ['x', 'y', 'M', '9519', '6553', '7497', 'j', '9587', 'g', '9393', 'C', 'T']

Answer:
x, y, M, 9519, 6553, 7497, j, 9587, g