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, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']

Answer: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X


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: 5, ['q', '29', '8719', '9459', '1233', 'N', 'L', '1863', '7959', 'h', 'b', 't', 'x']

Answer:
q, 29, 8719, 9459, 1233, N, L, 1863