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: 2, ['S', 'j', '3363', 'F', '4755', 'M', 'j', '3675', 'v', '8531', '8159', '3165', 'e', '5189', 'O', 'V', '5953', 'N', '3761', '5969', 'k', 'f', '9601', '1725', 'r', '7341', 'S', '2223', 'k']

Answer: S, j, 3363, F, 4755, M, j, 3675, v, 8531, 8159, 3165, e, 5189, O, V, 5953, N, 3761, 5969, k, f, 9601, 1725, r, 7341, S


Question: 4, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']

Answer: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O


Question: 14, ['T', 'g', '4791', '8213', '663', '7865', '9799', 'W', '2957', '9493', '2757', 'U', '5971', '4011', '431', '9429', '1151', 'i', '9789', '885', 'Z', 'l', 'c', '7455', 'Z', 'h', '311', '9627', 'd']

Answer:
T, g, 4791, 8213, 663, 7865, 9799, W, 2957, 9493, 2757, U, 5971, 4011, 431