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: 8, ['3209', '959', 's', 'S', '6033', 'T', 'h', '7547', 't', 'f', 'J', 'a', 'S', 'Q', 'a', 'M', '3893', 'O', '2401', '9705', '243', 'r', '8935', 'z', 'R', 'm']
Example Output: 3209, 959, s, S, 6033, T, h, 7547, t, f, J, a, S, Q, a, M, 3893, O

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

Example Input: 9, ['g', '3159', 'f', '1495', '291', 'Q', '2941', '9257', '7821', 'e', '6055', '3719', '89', 'i', '3085', '2575', '6705', 'I', 'z', 'Z', '9139', '2397', 'i', 'L', '8931', '6069', 'r', 'N']
Example Output:
g, 3159, f, 1495, 291, Q, 2941, 9257, 7821, e, 6055, 3719, 89, i, 3085, 2575, 6705, I, z