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: 5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']

Answer: h, 5371, Y, E, 4733, 9039, w, p


Question: 10, ['b', '2623', '4859', 'o', '2809', '2123', 'd', '1375', '2371', '4673', 'f', 'J', '5073', '9347', '6197', 'y', 'J', 'r', 'A', '5057', '3535']

Answer: b, 2623, 4859, o, 2809, 2123, d, 1375, 2371, 4673, f


Question: 9, ['W', '6583', '5441', '8585', 'p', 'i', '5783', '7177', '9419', 'Y', '3457', 'F', '929', 'E', 'w', 'o', 'o', 'S', '2699']

Answer:
W, 6583, 5441, 8585, p, i, 5783, 7177, 9419, Y