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, ['7835', '1279', 's', '1149', 'x', 'L', '4499', '517', 'Y', 'E', 'h', '2687', 'f']
Example Output: 7835, 1279, s, 1149, x, L, 4499, 517, Y, E, h

Example Input: 5, ['5973', 'V', '2031', 'H', '6779', '8931', 'H', 'Z', '7833', 'P', '1749']
Example Output: 5973, V, 2031, H, 6779, 8931

Example Input: 4, ['5517', 'A', '5295', '5719', 'o', 'K', '7691', 'F', '943', '3585', '8393', 'N', '4267', 'k', '6211', 'B', '6393', '3103', '5867', 's', '3213', '6957', '8289', 'E', 'R', '6641', '3495']
Example Output:
5517, A, 5295, 5719, o, K, 7691, F, 943, 3585, 8393, N, 4267, k, 6211, B, 6393, 3103, 5867, s, 3213, 6957, 8289