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, ['l', 'N', '9803', 'o']

Answer: l, N, 9803


Question: 5, ['A', 'w', '9367', 'j', 'J', '457', 'z', 'C', 'V', 'S', 'P', '8791', '8675', '2373', 'w', 'B', 'p', 'y', '1057', '4815', '5749', 'v', '1123', 'f', 'p']

Answer: A, w, 9367, j, J, 457, z, C, V, S, P, 8791, 8675, 2373, w, B, p, y, 1057, 4815


Question: 5, ['7877', '1385', 'i', 'x', 'y', '6741', '9615', 'u', 'n', 'N', '7665', '4085', 'K', '7393', 'M', '6513', '2411', '9613', 'Q', '1727', '4179']

Answer:
7877, 1385, i, x, y, 6741, 9615, u, n, N, 7665, 4085, K, 7393, M, 6513