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', '1867', '3395', '4065', 'a', 'f', 'X', 'V', 'R', 'P', 'g', '2191', '933', '7691', '4161', 'P', 'r', '4905', '251', 'r', 'j', '5105', '1141']

Answer: Z, 1867, 3395, 4065, a, f, X, V, R, P, g, 2191, 933, 7691, 4161, P, r, 4905, 251, r


Question: 13, ['T', 'W', '3873', '2359', '7667', '1057', 't', 'Y', 'D', '9569', 'z', '2171', '7863', 'A', '7177', 'o', '9889', '3769', 'k', '227', '6991', 'S', '4603', '7681', 'M', '1993', '5955', 'z']

Answer: T, W, 3873, 2359, 7667, 1057, t, Y, D, 9569, z, 2171, 7863, A, 7177


Question: 7, ['7629', 'o', '2559', '3703', 'B', '619', 'p', '6399', '7823', '1077', 'e', 'W', 'd', '3595', 'J', 'F', 'W', 'W', 'f', '8345', '7013', 'n', '5477', '7157', 'r', '6433', 'f']

Answer:
7629, o, 2559, 3703, B, 619, p, 6399, 7823, 1077, e, W, d, 3595, J, F, W, W, f, 8345