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, ['1911', '3107', 'A', 'k', '1887', 'M', '1467', 'd', '8029', 'q', '7791', '115', 'g', '4385', 'q', 'f', '7827', '5555', 'R', 'o', '2339', 'Q', 'f', '2777', 'z']

Answer: 1911, 3107, A, k, 1887, M, 1467, d, 8029, q, 7791, 115, g, 4385, q, f, 7827, 5555


Question: 4, ['G', 'h', 'w', 'W', '4523', 'Y', '2765', '401', 's', '3931', 'z', '6741', 'N', '4359', 'a', '153', 'L', 'T', 'e', '8181', 'V', '2209']

Answer: G, h, w, W, 4523, Y, 2765, 401, s, 3931, z, 6741, N, 4359, a, 153, L, T


Question: 8, ['2741', 'I', 'O', '8513', 'X', 'v', '7595', 'B', '857', '5827', 'M', '8323', '6025', '703', '341', '1461', '1655', 'H', '7589', '7711', 'd', '5923', 'R', '9075']

Answer:
2741, I, O, 8513, X, v, 7595, B, 857, 5827, M, 8323, 6025, 703, 341, 1461