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: 5, ['9331', '9975', 'G', 'p', '2841', 'U', 'n', 'f', 'w', 'l']

A: 9331, 9975, G, p, 2841
****
Q: 3, ['u', 's', 'k', '5215', '9609', '1617', 'i']

A: u, s, k, 5215
****
Q: 11, ['b', '1545', '8571', 'c', '5061', 'D', '7345', 'Z', 'X', '7433', '217', 'P', 'n', '7869', 'e', 'I', '7413', '363', '5693', '9145', '4981', '1949', '6843', '8239', 'i', 'w', 'L', 'n', 'O', 'F']

A:
b, 1545, 8571, c, 5061, D, 7345, Z, X, 7433, 217, P, n, 7869, e, I, 7413, 363, 5693
****