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: 1, ['2935', 'H', '5139', 'n', 'X', '5999', 'C', '5147', 'J', '293', 'c', 'u', '9859', 'H', 'W', '2171', 'w', '3431', '1515']

Answer: 2935, H, 5139, n, X, 5999, C, 5147, J, 293, c, u, 9859, H, W, 2171, w, 3431


Question: 3, ['5109', 'f', 'c', '8429', 'e', 'k', 'q', 'h', '9773', 'j', '6643', '2019', '2625', 'y', '375', '649', '9901', '6511', '9219', 'd']

Answer: 5109, f, c, 8429, e, k, q, h, 9773, j, 6643, 2019, 2625, y, 375, 649, 9901


Question: 2, ['6061', '1729', 'x', 'm', '6345', 'U', '7419', 'x', 'w', '8821', '1945', '1907', 'i', 'H', 'W', '8173', 'B', 'T', 't', 'R', 'u']

Answer:
6061, 1729, x, m, 6345, U, 7419, x, w, 8821, 1945, 1907, i, H, W, 8173, B, T, t