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: 9, ['6213', '5491', '9761', 'L', '3875', 'I', '8323', 'G', 'N', '1499', 'h', '8975', '6511', 'g', 'b', 'N', 'g', '8115', 'Y', 'j', 'h', '9215', '401', '701', 't']
Example Output: 6213, 5491, 9761, L, 3875, I, 8323, G, N, 1499, h, 8975, 6511, g, b, N

Example Input: 9, ['M', '5097', 'b', 'W', '4627', 'i', 's', 'H', '3203', 'V', '2689', 'Y', 'G', 'G', 'O', '7913', '4265', '5203', '8085', 'c', '6847', '7825', 'O', 'K', '8371', '8899', '7721', '6695', 'r', 'q']
Example Output: M, 5097, b, W, 4627, i, s, H, 3203, V, 2689, Y, G, G, O, 7913, 4265, 5203, 8085, c, 6847

Example Input: 5, ['x', '5537', '9865', '927', '2931', 'F', 'u', '7121', 'H', 'Q', '2871', '8031', 'h', '8205', '8239', 'k']
Example Output:
x, 5537, 9865, 927, 2931, F, u, 7121, H, Q, 2871