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: 10, ['b', '2623', '4859', 'o', '2809', '2123', 'd', '1375', '2371', '4673', 'f', 'J', '5073', '9347', '6197', 'y', 'J', 'r', 'A', '5057', '3535']

Answer: b, 2623, 4859, o, 2809, 2123, d, 1375, 2371, 4673, f


Question: 8, ['4647', '6043', 'f', '6015', '289', 'f', 'E', '1355', 'e', 'y', 'i', '1279', '9563', 'c', 'U', 'd', '4333', '2351', 'Y', 'E', 'o', '4973', '475', '7943', '3199']

Answer: 4647, 6043, f, 6015, 289, f, E, 1355, e, y, i, 1279, 9563, c, U, d, 4333


Question: 6, ['2683', '9639', 'e', 'a', '7957', 'L', '3365', 'b', 'Y', 'a', '3921', 'M', 'W', '7579', 'I', '4945', '4671', 'M']

Answer:
2683, 9639, e, a, 7957, L, 3365, b, Y, a, 3921, M