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.

Q: 1, ['k', '9837', 'A', 'q', '3695', '731', '1449', '3559', '4553', 'J', 'w']

A: k, 9837, A, q, 3695, 731, 1449, 3559, 4553, J
****
Q: 1, ['o', 'l', '6453', '2359', '4999', 'b', '5509', 'k', 'K', '1805', 'l', 'U', '9413', '6415', '7847', '6857', 'C', '5703', 'E', '8363']

A: o, l, 6453, 2359, 4999, b, 5509, k, K, 1805, l, U, 9413, 6415, 7847, 6857, C, 5703, E
****
Q: 1, ['f', '8403', '247', '5463', '2683', '8851', '7195', 'p', '2407', 'k', 'I', '4757', 'f', '995', '3427', '5941', '2953', 'e', '4825', 'k', '5553', 'S', 'j', 't', '1343', '3519', '2497']

A:
f, 8403, 247, 5463, 2683, 8851, 7195, p, 2407, k, I, 4757, f, 995, 3427, 5941, 2953, e, 4825, k, 5553, S, j, t, 1343, 3519
****