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: 11, ['4889', '2673', '9457', 'G', '3985', 'R', '3483', '5941', '2107', '6687', '2067', 't', 'k', '1951', '773', 'v', 'M', '5637', '6963', 'V', 'Y', '5041']

Output: 4889, 2673, 9457, G, 3985, R, 3483, 5941, 2107, 6687, 2067

Input: Consider Input: 4, ['b', '551', '5871', '453', '5753', '1125', 'z', 'j', '8191', 'D', '781', '4055']

Output: b, 551, 5871, 453, 5753, 1125, z, j

Input: Consider Input: 1, ['p', '139', '687', '4961', '4795', 'o', 'b', 'K', 'd', 'I', 'M', 'W', '5525', 'K', 'k', '8047', '6327', 'y', '6639', '507', 'd', '6217', '1455', 'E', 'G', 't', 'f', 'C', '8861', '8481']
Output: p, 139, 687, 4961, 4795, o, b, K, d, I, M, W, 5525, K, k, 8047, 6327, y, 6639, 507, d, 6217, 1455, E, G, t, f, C, 8861