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, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']
Example Output: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079

Example Input: 3, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']
Example Output: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195

Example Input: 4, ['5805', '6691', 'n', 'Z', 'U', '5017', '499', '7849', 'L', 'l']
Example Output:
5805, 6691, n, Z, U, 5017