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: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
Example Output: X, 2625, l, 533, j, 265, O, h, 9031

Example Input: 1, ['Q', 'J']
Example Output: Q

Example Input: 9, ['V', '3839', '401', '1235', '3353', 'H', '8325', '5053', '1241', 'M', '3589', 'X', 'X', 'H', '4331', '5385', 'K', 'l', '5179', '21', 'q', '6145', 'n', '9333', 'S', '5507', '9633', '9', 'h']
Example Output:
V, 3839, 401, 1235, 3353, H, 8325, 5053, 1241, M, 3589, X, X, H, 4331, 5385, K, l, 5179, 21