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: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']
Example Output: 9331, 9975, G, p, 2841

Example Input: 10, ['d', 'c', 'Z', 'b', '4185', 'Y', '3381', 'd', '4167', 'J', '539', 'h', 'Q', '165', '8025', 'M', '6337', 'z', 'k', 'A', 'E', '9729', '7747', '7387', 'S', 'U']
Example Output: d, c, Z, b, 4185, Y, 3381, d, 4167, J, 539, h, Q, 165, 8025, M

Example Input: 3, ['m', '983', '9395', '1185', '7085', 'C', 'f', 'R', 'C', 'e', '3319', '8759', '7807', '9139', 'n', '3927', 'd', 'z', '9345', 'r', '5715', 'S', 'x', '3677', '9859', 'B', 'l', '9357', 'n']
Example Output:
m, 983, 9395, 1185, 7085, C, f, R, C, e, 3319, 8759, 7807, 9139, n, 3927, d, z, 9345, r, 5715, S, x, 3677, 9859, B