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: 10, ['l', '2397', '5303', '7039', '23', 'L', '5851', '8793', '8045', '9677', '4237', '7223', 'm', '4389', '2653', '4567', '2453', 'W', 'c', 'J', '1149', 'X', '1137', '9719']

Answer: l, 2397, 5303, 7039, 23, L, 5851, 8793, 8045, 9677, 4237, 7223, m, 4389


Question: 8, ['e', '7531', 'b', '2455', '7829', '7961', 'Y', '883', '7337', 'E', '507', '2101', '3867', 'Q', 'i', '6899', '1187', '3403', 'h', '2229']

Answer: e, 7531, b, 2455, 7829, 7961, Y, 883, 7337, E, 507, 2101


Question: 5, ['8343', '819', '9485', '9517', 'd', 'u', 'A', 'N', 't', '1665', '2973', 'd', '2451', 'P', '6573', '8495', 'h', '4877', 'V', '7391', 'r', '5129', 'W', 'W', '9837', '545', '7071', '1803', 'X']

Answer:
8343, 819, 9485, 9517, d, u, A, N, t, 1665, 2973, d, 2451, P, 6573, 8495, h, 4877, V, 7391, r, 5129, W, W