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: 3, ['8775', '1153', '8869', '8361', '2365', '6205', '4699', '3019', '2465', 'E', 'S', 't']

Answer: 8775, 1153, 8869, 8361, 2365, 6205, 4699, 3019, 2465


Question: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

Answer: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759


Question: 15, ['M', 'k', 'd', '5379', 'G', 'r', 'c', '9433', '6357', '2503', 's', '3939', '1059', '4889', 'l', '595', 's', 'G', 'l', 'Y', '6559', '4987', 'i', '6541', 'T', '2431', 'S', '8545', 'X', '9135']

Answer:
M, k, d, 5379, G, r, c, 9433, 6357, 2503, s, 3939, 1059, 4889, l