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: 5, ['W', '9233', '4001', 'R', '2829', 't', 'T', '3353', '1013', 'w']

Output: W, 9233, 4001, R, 2829


Input: Consider Input: 4, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']

Output: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j


Input: Consider Input: 7, ['M', 'r', 'F', 'm', '2851', '1517', 'i', 'c', 'f', 'I', 'o', '6895', 'L', 'N', '5663', 'R']


Output: M, r, F, m, 2851, 1517, i, c, f