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: 14, ['9735', '7407', '2315', '635', '4435', 'I', 'q', '4041', 'Z', '8667', 'x', 'n', 'p', 'h', '1391', '6509', 'u', 'O', '5497', '2601', '6359', 'Z', 'g', 'w', 'g', '2135', 'Z', 'a']

Answer: 9735, 7407, 2315, 635, 4435, I, q, 4041, Z, 8667, x, n, p, h


Question: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']

Answer: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591


Question: 11, ['r', 'g', '8527', '4803', 'w', '41', 'c', '2779', 'g', 'y', 'e', '5107', 'T', '8353', 'M', '7423', '1729', '1955', '8979', '2819', 'A', '4389', '3233', '7727', '2587', '8135', '5267']

Answer:
r, g, 8527, 4803, w, 41, c, 2779, g, y, e, 5107, T, 8353, M, 7423