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.

Input: Consider Input: 4, ['m', 'O', 'w', 'g', '6477', 'w', '3709', 'k', 'B', '3485', 't', 'I', 'a', 'Z']

Output: m, O, w, g, 6477, w, 3709, k, B, 3485


Input: Consider Input: 5, ['a', 'U', '1091', '6791', '5761', '5235', 'q', 'f', 's', '2023', 'u', 'N', 'H', 'D', '479', 'q']

Output: a, U, 1091, 6791, 5761, 5235, q, f, s, 2023, u


Input: Consider Input: 2, ['231', 'U', '9227', '5663', 'a', 'F', 'Y', 'n', 'i', 'N', 'D', 'u', 'I', 'g', '1759', '6709', '9711', 'z', 'M', '6325', '4901', '3913', '1679', 'z', 'h', '7103', 'R', '9963', 'D', '5259']


Output: 231, U, 9227, 5663, a, F, Y, n, i, N, D, u, I, g, 1759, 6709, 9711, z, M, 6325, 4901, 3913, 1679, z, h, 7103, R, 9963