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: 4, ['4773', 'K', '4689', 'L', 'b', 'Y', '911', '5037', 'i', 'x', 'i', '1881', '9697', '4575', 'e', '7425', 'k', 'X', '1287', '5939', '4907', '9289', 'm', '269', 'w', '641', '8981']
Example Output: 4773, K, 4689, L, b, Y, 911, 5037, i, x, i, 1881, 9697, 4575, e, 7425, k, X, 1287, 5939, 4907, 9289, m

Example Input: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']
Example Output: 9331, 9975, G, p, 2841

Example Input: 6, ['5517', '1801', 'G', '9107', 'q', '9385', '3431', '6831', '9841', 'B', 'h', '263', '2521', 'B', '3689', 'n', 'w', '1295', '1897', '3691', 'b', 'D', 'h']
Example Output:
5517, 1801, G, 9107, q, 9385, 3431, 6831, 9841, B, h, 263, 2521, B, 3689, n, w