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, ['8681', 'x', '4107', '7827', 'l', 'K', 'v', '4089', '5563']

A: 8681, x, 4107, 7827, l, K, v, 4089
****
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, ['8823', '5821', '829', 'N', 'B', '4347', 'r', '273', '3457', 'G', '1163', '8325', 'D', 'H', '4613']

A:
8823, 5821, 829, N, B, 4347, r, 273, 3457, G, 1163, 8325, D, H
****