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: 12, ['E', '3459', 'J', 'd', 'k', '6663', 'z', 'X', '823', '7451', 'V', '81', 'M', '9619', '1435', '5885', 'y', '8269', '5829', 'A', '9089', 'k', 'u', '3689', 'x', '6195', 'k']

Answer: E, 3459, J, d, k, 6663, z, X, 823, 7451, V, 81, M, 9619, 1435

Question: 1, ['P', 'Q', '2335', 'Z', 'B', '4397', '8329', 'S', 'N', '9733', '4569', 'Z', 'G', '1243', '7337', '2581', '3033', '9325', '7911', '1175', 'G', '4717', '4581', 'e', '4439', 'i', 'J', '9957']

Answer: P, Q, 2335, Z, B, 4397, 8329, S, N, 9733, 4569, Z, G, 1243, 7337, 2581, 3033, 9325, 7911, 1175, G, 4717, 4581, e, 4439, i, J

Question: 6, ['7655', '8897', '4825', 'o', '2823', '6549', '6107', '83', '1161', 'R', 'M', 'y', '2835', '637', 'U', 'E', '2565', 'Q', '3145', '3943', '9639', 'D', 'L', '3767', '6871', 'P', '4493', 'n', 'k', 'M']

Answer:
7655, 8897, 4825, o, 2823, 6549, 6107, 83, 1161, R, M, y, 2835, 637, U, E, 2565, Q, 3145, 3943, 9639, D, L, 3767