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: 2, ['v', 'l', 'a', '4761', '3467', 'd', 'i', '4703', 'Y']
Example Output: v, l, a, 4761, 3467, d, i

Example Input: 2, ['L', 'V', '7357', 'p', 'P', 'B', '6813']
Example Output: L, V, 7357, p, P

Example Input: 9, ['5747', 'm', 'm', '6467', '775', '6695', '81', '8155', '2245', '17', 'w', '609', '267', 't', '8131', '5805', 'N', '9371', '3127', 'v']
Example Output:
5747, m, m, 6467, 775, 6695, 81, 8155, 2245, 17, w