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: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
Example Output: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

Example Input: 9, ['c', '1823', 'I', '2553', 'D', 'S', 'e', 'W', '6845', 'f', 'w', '8227', '4171', '2819', 'q', 'c', 'O', 'q', '1547', '9585', '5559', '9907', 'Q', 'M', '9811', '5061', 'A', 'x', '9997', 's']
Example Output: c, 1823, I, 2553, D, S, e, W, 6845, f, w, 8227, 4171, 2819, q, c, O, q, 1547, 9585, 5559

Example Input: 7, ['7751', 'i', 'y', '6309', '3909', 'p', '4527', '7095', 'I', 'y', 'X', '5459', '3373', 'V', '3697', '1589', '7373', 'F', 'x', '6877', 'U', 'y', 'R', '2365', 'z', 'e']
Example Output:
7751, i, y, 6309, 3909, p, 4527, 7095, I, y, X, 5459, 3373, V, 3697, 1589, 7373, F, x