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: 3, ['r', '8867', '8469', '67', '6845', '7875', 'n', '9255', '6723', '1609', '1589', 'T', 'H', '5767', 'e', '5283', '8659']

Answer: r, 8867, 8469, 67, 6845, 7875, n, 9255, 6723, 1609, 1589, T, H, 5767


Question: 2, ['821', 'U', '8533', 'q', '6011', '3347', '3055', '5687', '9103', 'C']

Answer: 821, U, 8533, q, 6011, 3347, 3055, 5687


Question: 12, ['V', 'i', '7313', '8035', '9367', '9607', 'N', 'R', '1199', 'L', 'O', '3385', '1335', '2079', '9765', 'A', 'i', 'C', '4359', '5015', 'J', '8201', '1863', 'j', 'O', 't', 'U', '4277', '6419']

Answer:
V, i, 7313, 8035, 9367, 9607, N, R, 1199, L, O, 3385, 1335, 2079, 9765, A, i