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.

[EX Q]: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
[EX A]: X, 2625, l, 533, j, 265, O, h, 9031

[EX Q]: 1, ['t', '8485']
[EX A]: t

[EX Q]: 12, ['X', 'd', 'i', 'H', '9', 'e', 'm', 'f', 'J', '2279', 'r', 'z', '3519', '7621', '6571', '4505', '425', 'X', '203', '5439', 'R', '9915', '3', '3723', '1523', 'y', '9829', '2677']
[EX A]:
X, d, i, H, 9, e, m, f, J, 2279, r, z, 3519, 7621, 6571, 4505