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, ['h', '1845', 't', '45', 'N', 'j', '4161', 'n', 'I', 'Y', '4091', 'W', 'y', 'C', 'i', 'H', 'd', 'E', '5529', 'e']

Output: h, 1845, t, 45, N, j, 4161, n, I, Y, 4091, W, y, C, i


Input: Consider Input: 7, ['O', 'G', '303', 'J', '8545', 'u', '1983', 'u', '425', 't', '8249', 'i', '4727', '6039', 'k', '1927', 'z', '4429', '4131', '8543', '9127', 'J']

Output: O, G, 303, J, 8545, u, 1983, u, 425, t, 8249, i, 4727, 6039, k


Input: Consider Input: 1, ['4151', '5421', 'C', 'q', 'E', '6447', '9363', 'S', 'C', '3951', 'U', 'j', 'F', 'B', '1243', '9123', '2993', '4271', 'K', '2111', '5287', '5475', 'J', '5169', 'x', '8635', 'J', '6671']


Output: 4151, 5421, C, q, E, 6447, 9363, S, C, 3951, U, j, F, B, 1243, 9123, 2993, 4271, K, 2111, 5287, 5475, J, 5169, x, 8635, J