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', '5097', 'b', 'W', '4627', 'i', 's', 'H', '3203', 'V', '2689', 'Y', 'G', 'G', 'O', '7913', '4265', '5203', '8085', 'c', '6847', '7825', 'O', 'K', '8371', '8899', '7721', '6695', 'r', 'q']

Answer: M, 5097, b, W, 4627, i, s, H, 3203, V, 2689, Y, G, G, O, 7913, 4265, 5203, 8085, c, 6847


Question: 1, ['N', 'u', 'k', '2923', 'P', 'o']

Answer: N, u, k, 2923, P


Question: 3, ['u', '3657', 'U', '7181', '9191', 'X', '6005', '8705', 'E', 'A']

Answer:
u, 3657, U, 7181, 9191, X, 6005