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: 12, ['8683', '8853', 'r', '5697', 'P', '7487', 's', 'b', '5003', '6493', 'D', '1367', '4403', 'd', 'W', '5975', 'f', 'B', '8335', '899', 'x', 'G', '8921', 'd', '8455']

Answer: 8683, 8853, r, 5697, P, 7487, s, b, 5003, 6493, D, 1367, 4403


Question: 4, ['7991', 'm', 'P', '1029', 'D', 'x', 'L', '3549', '2747', '5545', 'l', 'T', 'S', 'b', '929', 'R', '8099', 'R', 'c', 'i', 'v', 'q', 'g', '2107', '6375']

Answer: 7991, m, P, 1029, D, x, L, 3549, 2747, 5545, l, T, S, b, 929, R, 8099, R, c, i, v


Question: 11, ['6211', 'd', '8033', '9455', '8355', 'z', '8847', 'm', '9831', 'g', '2641', 'z', '4741', 'p', '9149', 'N', 'y', '3279', 'R', '5705', '7763', '2415', 'c', '273', 'F', '4981', '5875']

Answer:
6211, d, 8033, 9455, 8355, z, 8847, m, 9831, g, 2641, z, 4741, p, 9149, N