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, ['8139', 'u', '9539', 'y', 'w', 'X', 'P', 'f', '3325', 'l', 'M', 'R', 'd', '907', '4147', '9831', '3401', '4645']

Answer: 8139, u, 9539, y, w, X, P, f, 3325, l, M, R, d


Question: 7, ['263', '1639', '3401', 'G', 't', '1699', '1639', '8169', 'o', 'y', '5239', '9663', '93', '7659']

Answer: 263, 1639, 3401, G, t, 1699, 1639


Question: 3, ['n', '2017', 'q', '4795', 'U', '1105', 'O', '2139', '2853', '4055', '6423', '8523', '6881', '1287', 'h']

Answer:
n, 2017, q, 4795, U, 1105, O, 2139, 2853, 4055, 6423, 8523