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.

Example Input: 3, ['r', '8867', '8469', '67', '6845', '7875', 'n', '9255', '6723', '1609', '1589', 'T', 'H', '5767', 'e', '5283', '8659']
Example Output: r, 8867, 8469, 67, 6845, 7875, n, 9255, 6723, 1609, 1589, T, H, 5767

Example Input: 4, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']
Example Output: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j

Example Input: 4, ['1863', '8975', '8579', '4121', '605', 'm', '4059', 'C', 'j', '6327']
Example Output:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
1863, 8975, 8579, 4121, 605, m

