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: 2, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']
Example Output: 4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723

Example Input: 2, ['o', '6313', 'b', '8807']
Example Output: o, 6313

Example Input: 7, ['9489', 'T', '1533', '5493', 'J', 'g', 'Z', 'q', '8117', '3973', 'd', '2617', '65', 'B', 'Y', 'N', '4141', '7033']
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
9489, T, 1533, 5493, J, g, Z, q, 8117, 3973, d

