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: 10, ['l', '2397', '5303', '7039', '23', 'L', '5851', '8793', '8045', '9677', '4237', '7223', 'm', '4389', '2653', '4567', '2453', 'W', 'c', 'J', '1149', 'X', '1137', '9719']
Example Output: l, 2397, 5303, 7039, 23, L, 5851, 8793, 8045, 9677, 4237, 7223, m, 4389

Example Input: 7, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']
Example Output: 6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627

Example Input: 13, ['9865', 'i', '4331', '2945', 'V', '5079', '4899', '2735', '2513', '6863', 'k', 'h', '3601', 'I', '209', '4001', '3727', '5181', 'm', '6385', '8469', 'o', 'n', 'D', 'R', 'i', 'I', '8197', '8531']
Example Output:
9865, i, 4331, 2945, V, 5079, 4899, 2735, 2513, 6863, k, h, 3601, I, 209, 4001