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: 4, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']

Answer: 8667, w, M, 3117, r, 7759, B, t, r, 7625


Question: 11, ['L', 'u', '2683', '1891', 'F', 'Z', '1443', 'h', 'n', 'L', 'X', '2321', '6451', 'N', 'e', 'H', 'P', '6171', 'P', '929', 'i', '9873', '1097', 'z', '5943', '427', 'R', '175']

Answer: L, u, 2683, 1891, F, Z, 1443, h, n, L, X, 2321, 6451, N, e, H, P


Question: 1, ['k', 'Y', '3853', '925', 'v', 'N', '5111', '4011', 'f', 'h', '7953']

Answer:
k, Y, 3853, 925, v, N, 5111, 4011, f, h