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: 1, ['2161', 'V', 'r', 'I', '9813', 'P', 'E', 'J', 'Z', '8861', '9883', '131', '2089', 'p', '8863', '1483', '4753', '7895']
Example Output: 2161, V, r, I, 9813, P, E, J, Z, 8861, 9883, 131, 2089, p, 8863, 1483, 4753

Example Input: 2, ['K', 'x', 'B', 'L', 'a', 'P', 'w', 'R', '1495', '737', 'v', '4079', '6945', '4801', 'c']
Example Output: K, x, B, L, a, P, w, R, 1495, 737, v, 4079, 6945

Example Input: 2, ['A', '8635', '4527', '3173', 'G', '5727', '4535', 't', '9605', '6657', '241', 'L', 'y', 'c', 'A', '5105', '4899', '5935', 'r', 'd', '8105', '1737', '9621', 'X', 'p', 'y', 'y', '489', '8443']
Example Output:
A, 8635, 4527, 3173, G, 5727, 4535, t, 9605, 6657, 241, L, y, c, A, 5105, 4899, 5935, r, d, 8105, 1737, 9621, X, p, y, y