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: 7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']

Answer: 4871, 3897, B, t, V, 7127, 8163, R, c, o, w


Question: 1, ['4887', '3163', 'l', 'C', 'h', '9737', '3845', '3531', 'u', 'r', '1461', '3167', '9285', '6655', 'p', 'm', 'l', '7663', '9635', '2167', 'G', 'q', 'N']

Answer: 4887, 3163, l, C, h, 9737, 3845, 3531, u, r, 1461, 3167, 9285, 6655, p, m, l, 7663, 9635, 2167, G, q


Question: 5, ['2767', 'O', '4505', 'A', '4843', '3405', 'P', '6325', 'i', '3363', 'c']

Answer:
2767, O, 4505, A, 4843, 3405