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.

1, ['n', '2253', '7809', 'U', 'X', '5899', 'R', '6509']
n, 2253, 7809, U, X, 5899, R

5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']
X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173

5, ['565', '6857', 'e', 'z', 'O', 'q', 's', '2815', '3063', '7449', 'a', 'F', 'H', 'h', '4611', '9957', 'D', '2597', 'P', 'U', 'k', '1929']

565, 6857, e, z, O, q, s, 2815, 3063, 7449, a, F, H, h, 4611, 9957, D