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: 9, ['M', '5', 'j', 'D', '8995', '9639', 'C', '431', '9105', '525', 'Q', 'O', '3657', '6137', 'u', 'c', '3099', '6233']

Answer: M, 5, j, D, 8995, 9639, C, 431, 9105


Question: 8, ['3149', '7327', '8513', '4681', 'O', '5083', 'A', 'z', '5367', '3713', '8887', 'U', '23', '8091', 'A', 'k', 'F', 's', 'Y', '2217', '6479', 'F', '2239', '3305', 'N', '8459', '667', 'D', 'j']

Answer: 3149, 7327, 8513, 4681, O, 5083, A, z, 5367, 3713, 8887, U, 23, 8091, A, k, F, s, Y, 2217, 6479


Question: 5, ['g', '7971', '4549', '6623', 'T', '1677', '8689', 'C', 't', 'c', 'F']

Answer:
g, 7971, 4549, 6623, T, 1677