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: 6, ['6761', '7905', '5853', 'a', 'T', '8867', '6233', 'Q', '2069', '7369', '2497', 'r']

Answer: 6761, 7905, 5853, a, T, 8867


Question: 2, ['247', '8163', '5723', '5791', '8303', '8405', '1515', '463', 'v', 'a', 's', 'j', 'j', 'V', '933', '3773', 'n']

Answer: 247, 8163, 5723, 5791, 8303, 8405, 1515, 463, v, a, s, j, j, V, 933


Question: 14, ['Q', '2637', '347', '6331', 'Z', '4211', 'X', '1995', 'p', '7483', 'N', 'z', '5259', '2403', 'b', 'l', 'M', 'e', '3337', 'c', '6163', 'g', '2629', 'a', '6743', '3109', 'i', 'B']

Answer:
Q, 2637, 347, 6331, Z, 4211, X, 1995, p, 7483, N, z, 5259, 2403