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, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']

A: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001
****
Q: 8, ['4111', 'k', 'R', 'T', '7401', '9155', 'a', '8387', 'H', 'k', 'c', '4927', 'Z', '8959', '6207', '3209', 'X', '5647', 'B', 'c']

A: 4111, k, R, T, 7401, 9155, a, 8387, H, k, c, 4927
****
Q: 9, ['4279', 'g', 'z', 'd', '3869', 'C', '319', 'p', '501', '1757', 'p', 'u', '5217', 'W', '4293', 'S', '6197', 'i', '9519', '9011', 'r']

A:
4279, g, z, d, 3869, C, 319, p, 501, 1757, p, u
****