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, ['T', '3241', 'k', 'r', 'x', '6509', 'Z']
Example Output: T, 3241, k, r, x, 6509

Example Input: 3, ['u', 't', '6863', 'b', 'z', 'e', '7653', 'y', 'G']
Example Output: u, t, 6863, b, z, e

Example Input: 4, ['127', '1171', '2455', 'c', 'v', '3643', 'P', 'p', '8685', '9041', '8349', '4667', '6593', '6767', '1579', 'W', 'z', 'R', 'e', '6451', '6025', '5379', 'p', '5917', '7923', '9927', '7687']
Example Output:
127, 1171, 2455, c, v, 3643, P, p, 8685, 9041, 8349, 4667, 6593, 6767, 1579, W, z, R, e, 6451, 6025, 5379, p