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: 3, ['P', 'u', 'X', 'j', '7477', '3877']
Example Output: P, u, X

Example Input: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']
Example Output: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591

Example Input: 8, ['2639', 't', 'u', '2611', '5071', '6641', '6617', 'X', '3405', '8943', '9303', '8847', 'L', 'D', 'c', '9541', '7331', 'E', '999', 'A', 'q', 'u', 'L', '9119', '1561', '5879', 'y', 'V', '3971', 'p']
Example Output:
2639, t, u, 2611, 5071, 6641, 6617, X, 3405, 8943, 9303, 8847, L, D, c, 9541, 7331, E, 999, A, q, u