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: 1, ['X', '245', 'e', 'Z', '1475']
Example Output: X, 245, e, Z

Example Input: 5, ['467', 'X', 'l', '895', 'F', '9837', 'H', 'y', 'n', '8395', '8195', 'Y', 'O', 'T']
Example Output: 467, X, l, 895, F, 9837, H, y, n

Example Input: 12, ['2637', '629', '7761', '1527', 'V', 'n', '8277', 'e', '3053', '1443', '6549', '2465', '1777', '585', 'H', '2649', 'U', 'v', '6797', 'J', '2853', '6031', 'j', '3979', '3947', 'A']
Example Output:
2637, 629, 7761, 1527, V, n, 8277, e, 3053, 1443, 6549, 2465, 1777, 585