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: 5, ['v', '371', '1799', 'E', '7605', 'k', '6133', '2871', 's', '9981', 'E']

Answer: v, 371, 1799, E, 7605, k


Question: 4, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']

Answer: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j


Question: 4, ['F', '8181', '9653', '7861', '1009', 'k', 't', 'd', 'x', 'T', '3619', '9737', '2415', '7931', 'h', '9291', 'k', 'H', 'u', '2377', 'O', '5641', 'j', '4913', 'p', '6509']

Answer:
F, 8181, 9653, 7861, 1009, k, t, d, x, T, 3619, 9737, 2415, 7931, h, 9291, k, H, u, 2377, O, 5641