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: 1, ['y', 's', 'Z', '4013', 'R', '6789']

Answer: y, s, Z, 4013, R


Question: 5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']

Answer: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d


Question: 12, ['P', 'P', '4177', 's', '2715', '1301', 'b', '7229', '2963', 'L', 'l', 'q', '1937', 'b', 'z', '527', 'v', '2509', '4579', 'F', '6633', '4049', '2259', '7573', 'k', '7953', '6483', '6643', '8601', 'w']

Answer:
P, P, 4177, s, 2715, 1301, b, 7229, 2963, L, l, q, 1937, b, z, 527, v, 2509