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, ['N', 'u', 'k', '2923', 'P', 'o']

Answer: N, u, k, 2923, P


Question: 4, ['1863', '8975', '8579', '4121', '605', 'm', '4059', 'C', 'j', '6327']

Answer: 1863, 8975, 8579, 4121, 605, m


Question: 3, ['5769', 'w', '7635', 'G', '3507', '703', 'N', '7971', 'w', 'i', 'R', '5001', 'f', '1223', '5265', '7709', '2901', '4697', 'v', '7829', '3739', '9209', '601']

Answer:
5769, w, 7635, G, 3507, 703, N, 7971, w, i, R, 5001, f, 1223, 5265, 7709, 2901, 4697, v, 7829