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, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']

A: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195
****
Q: 2, ['7835', '1279', 's', '1149', 'x', 'L', '4499', '517', 'Y', 'E', 'h', '2687', 'f']

A: 7835, 1279, s, 1149, x, L, 4499, 517, Y, E, h
****
Q: 1, ['n', '8037', 'b', 'Z', 'Q', 'b', 'O', '9679', 'I', 'v', 'u', 'u', 'Q', '3689', '6609', '6665', 'z', 'm', '2959', 'Q', '157', 'J', 'z', '1385', '2325', 'x', '1903']

A:
n, 8037, b, Z, Q, b, O, 9679, I, v, u, u, Q, 3689, 6609, 6665, z, m, 2959, Q, 157, J, z, 1385, 2325, x
****