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: 2, ['3149', '6791', 't', 'q', 'Q']

Answer: 3149, 6791, t


Question: 3, ['m', 'h', '2103', 'c', 'W', '6041', 'X', '9203', 'p']

Answer: m, h, 2103, c, W, 6041


Question: 15, ['y', 'F', 'm', 'g', 'X', 'O', 'I', '4711', 'g', 'o', 'Q', 'z', '9103', 'h', 'M', 'h', 'g', '7043', 'g', '3551', 'M', '3945', 'r', '5063', 'F', 'm', 'C', 'r', 'x', '7859']

Answer:
y, F, m, g, X, O, I, 4711, g, o, Q, z, 9103, h, M