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: 4, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']

Answer: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j


Question: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']

Answer: X, 2625, l, 533, j, 265, O, h, 9031


Question: 11, ['8043', 'C', '4189', '3253', 'C', '6813', 'i', '8623', '3167', 'U', '5907', '7577', '7687', 'S', 'J', 'Y', 'f', 'q', 'b', '793', 'b', '8523', '2475', '5691', '4665', '9893']

Answer:
8043, C, 4189, 3253, C, 6813, i, 8623, 3167, U, 5907, 7577, 7687, S, J