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, ['6019', '1879', '4663', '9795', '1937', '8383', 'u', '8653', 'F', '6757', '7019', 'S', 'F', '3595', 'g', '4237', 'J', '5071', '2671', 'Y', 'Q']

Answer: 6019, 1879, 4663, 9795, 1937, 8383, u, 8653, F, 6757, 7019, S


Question: 4, ['M', '6571', '2555', 'w', '5679', 'C', '2401', 'Q', 'a', '6885', 'N', '9237', 'p', 'n']

Answer: M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885


Question: 7, ['d', '577', 't', 'P', '6021', '2177', '3605', 'B', '4961', '3227', 'z', 'L', 'w', 'm', 'K', 'Q', 'Q', 'N', 'U', 'S', 'B', '4755', '9703', '7771', 'm', 'O', '8973', 'F', '9233', 'l']

Answer:
d, 577, t, P, 6021, 2177, 3605, B, 4961, 3227, z, L, w, m, K, Q, Q, N, U, S, B, 4755, 9703