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: 5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']

Answer: 6395, 6931, e, 6777, x, k, r, 8745, 6787


Question: 3, ['9011', '6839', 'D', 'D', '8377', 'J', 'y', '8107', '7147', '8957', 'i', '8105', '7419', 'a', '1783', 'l', '9973', 'H', 't', 'b', 'G', '141', '1549', '677', 'c', 'M', 'b']

Answer: 9011, 6839, D, D, 8377, J, y, 8107, 7147, 8957, i, 8105, 7419, a, 1783, l, 9973, H, t, b, G, 141, 1549, 677


Question: 3, ['O', 'e', 'p', '6101', 'R', '3613', 'M', 'U', '9971', 'q', '2853', 'L', 'm', 'x', '9283', '6593', '7465', '5137', 'T', 'H', 'N', '8549', 'U', 'y', '243', 'i', 'M', 'P', 'F']

Answer:
O, e, p, 6101, R, 3613, M, U, 9971, q, 2853, L, m, x, 9283, 6593, 7465, 5137, T, H, N, 8549, U, y, 243, i