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: 1, ['W', 'c', '5875', 'j', '7453', '7255', 'f', 'Q', '7089', 'P', 'g', 'X']

Answer: W, c, 5875, j, 7453, 7255, f, Q, 7089, P, g


Question: 3, ['8565', '6837', 'v', 'X', 'E', '8315', '3451', '2403', '8065', '2179', 'n', '2151', '2325']

Answer: 8565, 6837, v, X, E, 8315, 3451, 2403, 8065, 2179


Question: 1, ['K', 'Y', '9585', 'X', '2281', '3541', 'D', 'X', 'g', 'H', '4003', 'n', '3367', '3779', '155', 'S', 'r', '4935', 'j', 'n', 'Z', '5985', '7297', '2743', 'n', 'r', '8611', '9069', 'o', '1015']

Answer:
K, Y, 9585, X, 2281, 3541, D, X, g, H, 4003, n, 3367, 3779, 155, S, r, 4935, j, n, Z, 5985, 7297, 2743, n, r, 8611, 9069, o