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: 3, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']

A: V, 4605, 8081, 3723, y, 3045
****
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: 10, ['q', 'F', 's', '5771', '1977', 'H', '1825', 'a', 'P', 'v', 'N', 'd', '4547', '4057', 'C', '8387', 'o', 'D', 'g', 'Z', '3985', '6555', '485', '4613', '2491', '6373', 'a', 'N', 'a', 'M']

A:
q, F, s, 5771, 1977, H, 1825, a, P, v, N, d, 4547, 4057, C, 8387, o, D, g, Z
****