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: 5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']
Example Output: b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361

Example Input: 1, ['4605', 'E', '7663', 'R', '2159', '6297', 'Z', 'j', '7075', '4355', 'b', '9585', '2707', 'n', '2899', 'v', '8237', '773', 'L', '4905', '9885', 'V', '8165', '6037', 'R', 'A']
Example Output: 4605, E, 7663, R, 2159, 6297, Z, j, 7075, 4355, b, 9585, 2707, n, 2899, v, 8237, 773, L, 4905, 9885, V, 8165, 6037, R

Example Input: 1, ['m', '791', 'U', '643', 'E', '2845', 'S', 'b', 'G', 'u', '9327', '89', 'm', '4729', '2671', 'w', 'g', '3367', '5151', '9327', 'H']
Example Output:
m, 791, U, 643, E, 2845, S, b, G, u, 9327, 89, m, 4729, 2671, w, g, 3367, 5151, 9327