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: 8, ['4647', '6043', 'f', '6015', '289', 'f', 'E', '1355', 'e', 'y', 'i', '1279', '9563', 'c', 'U', 'd', '4333', '2351', 'Y', 'E', 'o', '4973', '475', '7943', '3199']
Example Output: 4647, 6043, f, 6015, 289, f, E, 1355, e, y, i, 1279, 9563, c, U, d, 4333

Example Input: 4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']
Example Output: 971, 3213, E, o

Example Input: 6, ['3693', 'J', 'J', '4235', '1781', '7353', 'X', '2147', '2157', 'q', 'i', '1617', '1453', 'E', '9551', '8153', 'p', '4121', 'X', '8323', '8399', '1281', '1451']
Example Output:
3693, J, J, 4235, 1781, 7353, X, 2147, 2157, q, i, 1617, 1453, E, 9551, 8153, p