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: 2, ['5189', '805', 'U', '7527', 'Q', 'J', '4927', '8677', 'Y', '2871', '1193', 'C', 'I', '4667', '8127', '9073', '3075', '6297']

Answer: 5189, 805, U, 7527, Q, J, 4927, 8677, Y, 2871, 1193, C, I, 4667, 8127, 9073


Question: 6, ['4355', '9479', '3741', '6469', 'r', 'n', 'e', '2955', '8441', '8099', 'x', 's']

Answer: 4355, 9479, 3741, 6469, r, n


Question: 6, ['y', 'G', '8447', '2811', 'k', '6937', 'C', 'Z', '6679', '8703', '5387', '4591', 'p', 'J', 'N', 'T', '1769', '1373', '7691', '5061', '4893', 'w', 'E', 'M']

Answer:
y, G, 8447, 2811, k, 6937, C, Z, 6679, 8703, 5387, 4591, p, J, N, T, 1769, 1373