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: 5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']
Example Output: X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173

Example Input: 5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']
Example Output: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d

Example Input: 5, ['F', 'L', '7927', 'q', '5541', '1389', 'b', 'n', 'F', '1525', 'B', 'a', 'v', 'f', '1115']
Example Output:
F, L, 7927, q, 5541, 1389, b, n, F, 1525