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, ['M', '6571', '2555', 'w', '5679', 'C', '2401', 'Q', 'a', '6885', 'N', '9237', 'p', 'n']

Answer: M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885


Question: 1, ['y', 'e', 'y']

Answer: y, e


Question: 10, ['R', 'A', '9687', '5337', 'v', '3275', 'B', 'U', '207', 'm', '6745', '7435', '7221', '2861', 'm', 'n', 'i', 'S', '409', 'g', '7127', 'O']

Answer:
R, A, 9687, 5337, v, 3275, B, U, 207, m, 6745, 7435