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, ['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: 6, ['K', '3083', '3121', '2705', 'z', 'm', '3911', 'L', '3587', '9209', 'B', 'I', '4555', '2721', '7415', '9423', 'q', 'D', 'K', 'E', '5119', '7613', 'J', 'R']

Answer: K, 3083, 3121, 2705, z, m, 3911, L, 3587, 9209, B, I, 4555, 2721, 7415, 9423, q, D


Question: 10, ['4097', 'A', '2199', 'm', 'Y', '6065', '9761', '6491', 'N', 'i', '7003', '9077', '589', 'x', 'W', '4763', 't', '9819', '2899', '3591', '4827', '7219', 'Y', 'a', 'g', 'q', 'm']

Answer:
4097, A, 2199, m, Y, 6065, 9761, 6491, N, i, 7003, 9077, 589, x, W, 4763, t