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, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
Example Output: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z

Example Input: 3, ['O', '4045', 'd', 'r', 'h', '3903', 'I', '5309', '7833', 'c', '7265', 'X']
Example Output: O, 4045, d, r, h, 3903, I, 5309, 7833

Example Input: 4, ['F', 'x', 'B', '4827', 'X', 'D', '5107', 'f', '3783', '9085', 'S', '1025', '7071', 'G', 'q', 'Q', '1505', 'j', 'E', 'Z', 'u', 't', 'g', 'U', '7065', 'H']
Example Output:
F, x, B, 4827, X, D, 5107, f, 3783, 9085, S, 1025, 7071, G, q, Q, 1505, j, E, Z, u, t