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: 7, ['l', 'G', 'r', '4597', 'd', 'o', '3083', '6629', '125', 'N', 'g', 'N', 'O', '7059', 'A', 'P', 'T', 'c', 'Z', 'I', 'w', 'd', 'T', '6261']

Output: l, G, r, 4597, d, o, 3083, 6629, 125, N, g, N, O, 7059, A, P, T


Input: Consider Input: 8, ['6085', '6315', 'h', 'K', 'R', '1', '8471', '321', 'p', '2565', '8325', 'E', '4567', 'e', 'b', '2221', 'T', '5603', '2947']

Output: 6085, 6315, h, K, R, 1, 8471, 321, p, 2565, 8325


Input: Consider Input: 3, ['9783', 'Y', 'P', '5607', '7761', '6755', '3805', '9269', 'H', 'o', 'V', '6139', 'h', '1737', 'Z', 'O', 'k', '5327', 'N', '8957', '4815', 'i', '5405', '5967', 'T', '9283']


Output: 9783, Y, P, 5607, 7761, 6755, 3805, 9269, H, o, V, 6139, h, 1737, Z, O, k, 5327, N, 8957, 4815, i, 5405