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: 2, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']

A: G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909
****
Q: 1, ['6805', '9895', 'T', '7003', 'D', 'v', '7551', 'g', 'M', '9261', 'O', '2521', '3501', '8093']

A: 6805, 9895, T, 7003, D, v, 7551, g, M, 9261, O, 2521, 3501
****
Q: 8, ['5365', 'Z', 'v', '2801', '7245', '5045', '979', '5915', 'w', '9363', 'y', 'J', 'U', '6161', 'X', 'M', '6271', 'c', 'G', 'R', '3955', 'C', 'N', 'U', 'g', '2383', 'E', 'Q', '2771']

A:
5365, Z, v, 2801, 7245, 5045, 979, 5915, w, 9363, y, J, U, 6161, X, M, 6271, c, G, R, 3955
****