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: 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']
Example Output: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j

Example Input: 3, ['3395', '1491', '6533', 'W', 'Q', 'I', 'R']
Example Output: 3395, 1491, 6533, W

Example Input: 3, ['k', '9107', 'y', 'e', '1841', 'q', 'L', '3355', '5077', '4903', '183', '7985', 'X', '9809', '4703', '3307', '5639', '829', '5997', '707', '2129', 'A', '1823', 'j', 'A', 'T', 'b', '5163']
Example Output:
k, 9107, y, e, 1841, q, L, 3355, 5077, 4903, 183, 7985, X, 9809, 4703, 3307, 5639, 829, 5997, 707, 2129, A, 1823, j, A