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: 10, ['3881', 'g', 'Z', 'G', 'a', '7571', '6761', 'i', 'X', '9349', '4007', 'i', 'W', '2989', 'W', 'B', '6747', 'S', 'p', 'O', 'U', '5469']
Example Output: 3881, g, Z, G, a, 7571, 6761, i, X, 9349, 4007, i

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: 7, ['5615', '1691', '9663', 'E', '1907', 'w', '2091', '2039', '1249', 'Q', 'F', 'W', '9003', '1981', '5485', '711']
Example Output:
5615, 1691, 9663, E, 1907, w, 2091, 2039, 1249