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: 3, ['Z', 't', '8689', 'j', '7065', 'g', 'i', '5261', '7243', 'z', 'Q', 'V', '9083', 'L', 'X', '4439']

Answer: Z, t, 8689, j, 7065, g, i, 5261, 7243, z, Q, V, 9083


Question: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

Answer: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759


Question: 2, ['g', '1125', 'M', 'r', '4517', 'p', 's', '4315', '9575', '793', 'E', 'k', 'M', 'D', 'O', '3239', 'Y', '1203', 'N', 'u']

Answer:
g, 1125, M, r, 4517, p, s, 4315, 9575, 793, E, k, M, D, O, 3239, Y, 1203