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, ['7593', 'Y', '3923', '5793', '6977', '4977', 'X', 's', 'Z', '9629', '4277', '3385', 'R']

Answer: 7593, Y, 3923, 5793, 6977, 4977, X, s


Question: 7, ['8363', 'm', 'i', '9887', '7645', '815', '9555', '2541', '2947', 'r', '7885', '6389', '3', '6109', '5441', '8731', 'N', 'J', '7977', 'C', '1683', '5875', '1105']

Answer: 8363, m, i, 9887, 7645, 815, 9555, 2541, 2947, r, 7885, 6389, 3, 6109, 5441, 8731


Question: 10, ['A', 'i', 'x', '2609', '7749', '1291', 'u', '1843', '6137', 'o', 'B', '1867', '3541', 'y', '521', 'B', '7129', '8159', 'f', 'P', 'F', '4925', 'I', '7343', '4821', 'e', 'X', 'Y']

Answer:
A, i, x, 2609, 7749, 1291, u, 1843, 6137, o, B, 1867, 3541, y, 521, B, 7129, 8159