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: 4, ['F', 'k', '5745', 'T', 'p', '1283', 'A', '3837', 'y', 'j', '4083', 'm', '879', '1907', '2417', 'Q', '5303', '8327', 'd', '8699', '4873', '4291']
Example Output: F, k, 5745, T, p, 1283, A, 3837, y, j, 4083, m, 879, 1907, 2417, Q, 5303, 8327

Example Input: 5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']
Example Output: h, 5371, Y, E, 4733, 9039, w, p

Example Input: 11, ['589', 'w', '3379', 'L', 'E', 'E', '1247', 'j', 'J', 'e', '8529', 'X', 'N', '9969', '5631', 'm', 'U', '2629', '957', '3773', '5785', '2515', '1847', 'N', 'K', 'i', 'd', '8959', 'l']
Example Output:
589, w, 3379, L, E, E, 1247, j, J, e, 8529, X, N, 9969, 5631, m, U, 2629