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: 3, ['O', '4045', 'd', 'r', 'h', '3903', 'I', '5309', '7833', 'c', '7265', 'X']

Answer: O, 4045, d, r, h, 3903, I, 5309, 7833


Question: 1, ['9473', 'v', 'c', '3139', 'g', 'm', '9585', 'f', 'D', '483']

Answer:
9473, v, c, 3139, g, m, 9585, f, D