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: 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, ['781', 'x', 'v', 'G', 'k', '4317', '6855', 'D', 'S', 'z', '8161', '2497', '255', 'N', 'F', 'X', 'W', 'D', '2873', '8385', 'M', '8043', 'z']
Example Output: 781, x, v, G, k, 4317, 6855, D, S, z, 8161, 2497, 255, N, F, X, W, D, 2873

Example Input: 13, ['2887', '3451', 'y', '8107', 'j', 'z', '7543', 'h', 'B', '8167', '1385', '9739', '3311', '5073', '5209', '8919', 'M', '1887', 'H', 'I', 'D', 'L', 'U', 'Y', '4929', '8711', 'N', '4931', 'G', '3131']
Example Output:
2887, 3451, y, 8107, j, z, 7543, h, B, 8167, 1385, 9739, 3311, 5073, 5209, 8919, M