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, ['9539', 'e', '4227', 'w', '3651', 'a', '9607', 'i', '9575']
Example Output: 9539, e, 4227, w, 3651

Example Input: 13, ['y', '8539', '875', '5703', 'G', '6099', 'G', '8579', 'p', 'r', 'O', '2387', 'S', 'L', 'V', 'U', 'C', 'R', 'Z', '4991', '7897', '4887', '391', 'a', '2195', '6605', 'F', 'U']
Example Output: y, 8539, 875, 5703, G, 6099, G, 8579, p, r, O, 2387, S, L, V

Example Input: 11, ['7493', 'I', 'u', 'c', '7435', 'R', 'U', '2649', 'Z', 'd', '6091', '4083', '7123', '2527', 'T', '173', '375', '403', 'b', '9655', '9529', '8887', 'N', 'N', 'a', 'I', '2839', '2529']
Example Output:
7493, I, u, c, 7435, R, U, 2649, Z, d, 6091, 4083, 7123, 2527, T, 173, 375