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: 2, ['v', 'l', 'a', '4761', '3467', 'd', 'i', '4703', 'Y']

Output: v, l, a, 4761, 3467, d, i


Input: Consider Input: 3, ['8109', '3725', '4809', 'n', '1761', 'u', '7147']

Output: 8109, 3725, 4809, n


Input: Consider Input: 5, ['2353', '3339', 'H', 'W', '7809', '6447', '5865', '4451', '257', 'S', 'j', 'm', '1973', 'R', 'W', 'k', '5321', 'M', '4249', '3489', '4491', 'b', 'p', 'V', '6571', 'C', '1339']


Output: 2353, 3339, H, W, 7809, 6447, 5865, 4451, 257, S, j, m, 1973, R, W, k, 5321, M, 4249, 3489, 4491, b