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: 8, ['2657', 'u', '4419', '6719', '7841', 'u', '3781', 'o', 'w', '987', 'd', '1871', '4313', '1025', 'u', '3963', '7743', '1885', 'z', 'z', '7187', '5247']

Answer: 2657, u, 4419, 6719, 7841, u, 3781, o, w, 987, d, 1871, 4313, 1025


Question: 1, ['x', 'E', 'C', 'M', 'p', 'e']

Answer:
x, E, C, M, p