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: 3, ['Y', '3499', '2787', 'C', 'U', '4895']

Output: Y, 3499, 2787


Input: Consider Input: 5, ['H', '6247', '3419', 'a', 'g', 'b', 'S', '6077', 'L', '7419', 'C', '8475', '979', '7501', '4631', 'w', 'J', '7377']

Output: H, 6247, 3419, a, g, b, S, 6077, L, 7419, C, 8475, 979


Input: Consider Input: 3, ['D', 'N', 'Z', 'N', '1911', '9149', 'Z', 'i', '7525', 'I', 'u', 'y', 'w', '4083']


Output: D, N, Z, N, 1911, 9149, Z, i, 7525, I, u