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: 2, ['1323', 'p', '7981', 'x', '1135', '8007', 'k', '7763', 'v', '8851', '2491', '4337', 'B', 'e', 'J', '6689', '871', 'e', 'i', '6377', '7289', 'W', 'L', 't']
Example Output: 1323, p, 7981, x, 1135, 8007, k, 7763, v, 8851, 2491, 4337, B, e, J, 6689, 871, e, i, 6377, 7289, W

Example Input: 11, ['5031', '5005', 'c', '3503', '973', 'I', 'K', 'G', '9011', '1023', 'G', '3781', 'f', '6821', 'T', '3717', 'L', '8655', '449', '7553', '791', '247', '2187', 'A', 'r', '4941', '2119', '1935', '811']
Example Output: 5031, 5005, c, 3503, 973, I, K, G, 9011, 1023, G, 3781, f, 6821, T, 3717, L, 8655

Example Input: 4, ['5905', '67', '997', 'h', '2903', 'h', '4345', '2129', '7423', '7705']
Example Output:
5905, 67, 997, h, 2903, h