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: 3, ['J', 'W', '7117', 'b', '1359', 'F']

Answer: J, W, 7117


Question: 1, ['s', '5597', '6835', 'p', '171', 'C']

Answer: s, 5597, 6835, p, 171


Question: 7, ['2161', '1647', '4109', 'V', '5127', '8887', 'o', 'n', 'n', '5397', 'i', 'J', '2565', '5559', '7379', 'T', 'Y', '3605', 'H', 'N', 'M', 'Q', '4211', 'J']

Answer:
2161, 1647, 4109, V, 5127, 8887, o, n, n, 5397, i, J, 2565, 5559, 7379, T, Y