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, ['M', '4555', '3495', '6283', '6109']

Answer: M, 4555, 3495


Question: 3, ['Y', '959', '1399', 'T', 'R', 'o']

Answer: Y, 959, 1399


Question: 1, ['2889', '1581', '8311']

Answer:
2889, 1581