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: 10, ['B', '9661', 'L', 'A', '8735', '5487', 'n', 'd', 'h', '6199', '5419', 't', '7899', '2907', '725', '4153', '6577', 'Q', '5947', 'B']

Answer: B, 9661, L, A, 8735, 5487, n, d, h, 6199


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

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


Question: 1, ['3881', '9137', '4173', '7643', '5567', '789', 'r', 't', 'i', 'k', '3293', '1889', 'Q', '6775', '7685', 's', '271', '9269']

Answer:
3881, 9137, 4173, 7643, 5567, 789, r, t, i, k, 3293, 1889, Q, 6775, 7685, s, 271