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, ['6137', 'f', 'I', '8297', 'd', 'L', '6471', '2965', 'H', '533', '2809', 'U', 'A', '7481', 'l', 'e', 'n', 'd', '6589', 'n', 'c', 'X', 'I', 'I', '3217']
Example Output: 6137, f, I, 8297, d, L, 6471, 2965, H, 533, 2809, U, A, 7481, l, e, n, d, 6589, n, c, X, I

Example Input: 3, ['2181', '4599', 'D', 'z', '9097', '9267', 'q', '71', 'w', 'D', 'K', 'V', '2653', '2427', '1471', '733', '6887', '2789', 'G', 'S', '8401', '8327', '307', 'r', 'n', 'u']
Example Output: 2181, 4599, D, z, 9097, 9267, q, 71, w, D, K, V, 2653, 2427, 1471, 733, 6887, 2789, G, S, 8401, 8327, 307

Example Input: 11, ['K', '4837', '7759', 'h', '3795', '445', 'J', '8245', 'w', '5205', '3659', '5541', 'X', '8425', 'w', '3527', '7931', '1851', 'b', '3757', 'x', '2855', '5961']
Example Output:
K, 4837, 7759, h, 3795, 445, J, 8245, w, 5205, 3659, 5541