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: 6, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']

Answer: 6381, u, d, 7355, t, X, n, S, s


Question: 4, ['A', 'i', 'F', '4005', 'N', '3507', 'x', '5139']

Answer: A, i, F, 4005


Question: 3, ['i', 'M', '1035', '6461', '8201', '7429', '9869', '8417', 'R', 'f', 'Y', 'o', '5765', 'h', 'T', '1985', 'T', 'k', 'j', 'G', '9607', '8145', 'w', 'o', '6613', 'G']

Answer:
i, M, 1035, 6461, 8201, 7429, 9869, 8417, R, f, Y, o, 5765, h, T, 1985, T, k, j, G, 9607, 8145, w