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, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']
Example Output: D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419

Example Input: 2, ['f', 'X', 'M', '4005', '1665', '1379', '2731', 'p', '3683', 'C', '9699', 'H', '4481', 'M', 'e', 'N', 'C']
Example Output: f, X, M, 4005, 1665, 1379, 2731, p, 3683, C, 9699, H, 4481, M, e

Example Input: 4, ['C', 'F', 'm', '5561', 'g', 'a', '8915', '8389', 'h', '4311', '7307', 't', 'l', 't', '777', '3627', 'n', '9719', 'M']
Example Output:
C, F, m, 5561, g, a, 8915, 8389, h, 4311, 7307, t, l, t, 777