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: 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: 3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']

Answer: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u


Question: 1, ['Z', 'K', '3871', '6469', '157', '6113', '8039', 'T', '5617', 'b', '2969', '7955', '9255', 'e', 'E', '2809', '6441', '2761', 'j', '1975', 'b', '6247', '7827', 'x', 'n', '1813', '665']

Answer:
Z, K, 3871, 6469, 157, 6113, 8039, T, 5617, b, 2969, 7955, 9255, e, E, 2809, 6441, 2761, j, 1975, b, 6247, 7827, x, n, 1813