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, ['e', 'G', 'r', '2757', '4199', 'g', 'C', '3207', '3681', 'E', 'l', 'q', '7323', 'P', 'f', 'k']
Example Output: e, G, r, 2757, 4199, g, C, 3207, 3681, E, l, q, 7323, P

Example Input: 3, ['Q', 'd', 'a', '683', '2263', 'l', '5597', '2389', '8051', '2355', 'u', '3695', 'y', 'z', 'y', '535', 'D', 'Q', 'b', '3977', 'g', '1113', 'B']
Example Output: Q, d, a, 683, 2263, l, 5597, 2389, 8051, 2355, u, 3695, y, z, y, 535, D, Q, b, 3977

Example Input: 3, ['e', '3257', '2801', '7161', '4587', '6371', 'G', 'O', '1201', 'D', 'l', '1977', 'A', 'D', 'Y', '3297', '1609', 'F', '5449', '7031', 'y', 't', '481']
Example Output:
e, 3257, 2801, 7161, 4587, 6371, G, O, 1201, D, l, 1977, A, D, Y, 3297, 1609, F, 5449, 7031