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, ['x', 'P', 'P', '5915', 'c', '1339']

Answer: x, P, P


Question: 1, ['O', '6951', '5741']

Answer: O, 6951


Question: 1, ['B', '4283', '8167', '6371', '2811', '7747']

Answer:
B, 4283, 8167, 6371, 2811