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, ['8317', 'T', '5809', 'q', '2317', '7535', '2891']

Answer: 8317, T, 5809, q, 2317, 7535


Question: 2, ['X', 'O', 'D', '7293', 'r', 'C', '9075', 's', 'X', '3037', 'k', '9989', '9417', '7901', 'D', 'M', 'r', 'F', 'L', '1601', '8645', 'T']

Answer: X, O, D, 7293, r, C, 9075, s, X, 3037, k, 9989, 9417, 7901, D, M, r, F, L, 1601


Question: 10, ['b', '7157', '3333', '273', '2715', 'L', 'p', 'H', 'u', 'd', '4119', '503', '6529', 'h', '7937', 'A', 'c', 'B', '4101', 'J', '63', 'H', '8797', '8745', 'q', 'u', 'Z', '3271', '7389', 'O']

Answer:
b, 7157, 3333, 273, 2715, L, p, H, u, d, 4119, 503, 6529, h, 7937, A, c, B, 4101, J