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, ['4201', 'a', '3801', 'z']

Answer: 4201, a


Question: 1, ['8593', 'X']

Answer: 8593


Question: 12, ['9431', 'd', 'i', 'N', '429', '1455', 'G', 'N', 'H', 'P', '4935', '2421', '7235', '8605', 'j', 'd', '8115', '9233', 'I', '9745', 't', '201', '8015', '1851', '9827', '2931', 'm']

Answer:
9431, d, i, N, 429, 1455, G, N, H, P, 4935, 2421, 7235, 8605, j