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: 9, ['2975', '9501', '5493', 'T', '3115', 'p', 'V', 'B', 'A', 'a', 'I', '943', 'd', '3095', 'Y', 'y', '99', 'z', '9949', 'c', '3851']

Answer: 2975, 9501, 5493, T, 3115, p, V, B, A, a, I, 943


Question: 1, ['i', '1499', '4503', '195', 'x', 'h', 'x', '9265', 'O', 'p', '5391', 'y', 'C', '6211', 'Y', '7911', 'r']

Answer: i, 1499, 4503, 195, x, h, x, 9265, O, p, 5391, y, C, 6211, Y, 7911


Question: 4, ['2273', 'E', '2043', '9727', '5759', '5633', 'l', 'J', 's', 'V', '5585', 'l', '3267', 'Z', 't', 'J', 'p', '8079', 'l', 'Y', 'f', 'q', 'N', '5095', 'O']

Answer:
2273, E, 2043, 9727, 5759, 5633, l, J, s, V, 5585, l, 3267, Z, t, J, p, 8079, l, Y, f