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: 12, ['3525', '3817', 'X', '2091', 'E', '7625', 'p', '8031', '3895', '4101', 'K', 'f', '4303', 'g', '1529', 'p', 'D', 'w', '1831', 'n', '1019', '9569', 'L', '447', 'L', 't', 'r']
Example Output: 3525, 3817, X, 2091, E, 7625, p, 8031, 3895, 4101, K, f, 4303, g, 1529

Example Input: 6, ['p', 'z', 'n', '5759', 'i', '6115', '2605', 'i', 'O', '8597', 'G', 'A', 'd', 's', '1271', 'F', '6911']
Example Output: p, z, n, 5759, i, 6115, 2605, i, O, 8597, G

Example Input: 8, ['373', 'E', 'X', 'l', 'Q', '9343', '5921', '8467', '1351', 'a', '1793', '4277', 'R', '7055', 'S', 'i', 'e', '2667', '1311', 'k', 'j', 'I']
Example Output:
373, E, X, l, Q, 9343, 5921, 8467, 1351, a, 1793, 4277, R, 7055