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, ['175', '9189', 'p', '7643', '6937']
Example Output: 175, 9189, p

Example Input: 10, ['5481', '2055', '7495', '2107', 's', 'y', 'F', 'e', 'J', 'S', '8789', 'y', 'h', '9131', '775', 'x', 'K', '5149', 'B', '4323', '731']
Example Output: 5481, 2055, 7495, 2107, s, y, F, e, J, S, 8789

Example Input: 5, ['2173', 'F', 'b', '1921', 'L', 'J', 'y', 'C', '381', '2183', 'X', 'q', '7157', 'Y', 'h', 'e', 'p', '7477', '3223', '8599', '6361', 'Z']
Example Output:
2173, F, b, 1921, L, J, y, C, 381, 2183, X, q, 7157, Y, h, e, p