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, ['4619', '6389', '7529', 'B', '8289', '6167']
Example Output: 4619, 6389, 7529, B

Example Input: 11, ['7021', 'w', 'I', '2123', '5935', 'y', 'l', '2351', '3207', '9613', '963', '8925', '9673', 'X', 'z', 'X', 'K', 'w', '2433', 'O', '1495', 'Z', '957', 'R', 'l', '8745', '5553', 'R']
Example Output: 7021, w, I, 2123, 5935, y, l, 2351, 3207, 9613, 963, 8925, 9673, X, z, X, K

Example Input: 9, ['6521', 'S', '9057', 'j', 'p', '8593', 'f', 'o', 'g', 'G', 'n', 'n', 'G', 'q', '4453', 'U', '9957', '4909', '217', 'G', '7513', 'w', 'L', 'i', 'a', 'd', '3911', '5725']
Example Output:
6521, S, 9057, j, p, 8593, f, o, g, G, n, n, G, q, 4453, U, 9957, 4909, 217