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, ['N', 'j', 'B', 'T', '4231', '2767', '4885']

Answer: N, j, B, T, 4231


Question: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']

Answer: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y


Question: 5, ['4039', '1797', '7615', '4447', 'd', 'C', '8613', 'd', '7575', '4411', 'J', '6115', 'j', 's', '6369']

Answer:
4039, 1797, 7615, 4447, d, C, 8613, d, 7575, 4411