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: 12, ['7445', '9181', '2601', 'T', '4815', 'S', 'Z', '9753', '9883', '375', '2303', 'd', 'r', 'j', 'k', 'v', '4011', 'k', 'd', '8993', 'W', 'e', 'f', 'S', 'F', '4363', '4873', 'A']

A: 7445, 9181, 2601, T, 4815, S, Z, 9753, 9883, 375, 2303, d, r, j, k, v
****
Q: 5, ['j', 'e', '6673', 'O', '8997', 'e', 'G', 'J', 'm', 'A', 'c', '6761', '1443', '6789', 'i', 'q', 'u', 'X', '1785']

A: j, e, 6673, O, 8997, e, G, J, m, A, c, 6761, 1443, 6789
****
Q: 1, ['2409', 'T']

A:
2409
****