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: 5, ['y', 'L', '3769', '9435', 'o', '801', 'Y', 'Q', '9365', '1947', '6731']

Answer: y, L, 3769, 9435, o, 801


Question: 6, ['6751', '5183', '2839', 'r', '4137', 'f', '17', '327', '3145', 'X', '1211', '2801', '4779', 'x', 's', 'N', 's', '9341', 'H', 's', '9335', 'W', 'j', '4033', '1897', '6913', 'j', 'g']

Answer:
6751, 5183, 2839, r, 4137, f, 17, 327, 3145, X, 1211, 2801, 4779, x, s, N, s, 9341, H, s, 9335, W