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: 7, ['S', 'N', 'd', 'b', '2207', 's', '4723', 'q', '5379', 'l', 'd', '9345', 'P', 'N', '7101', 'F', 'b', 'c', 'p', 'V', '2987']

A: S, N, d, b, 2207, s, 4723, q, 5379, l, d, 9345, P, N
****
Q: 1, ['1753', '4741', '3853', 'U', 'J', 'S', '3935', 'G', '7475', 's', 'j', 'z', '1513', 'K', 'w', '9075', 'd', '9707', '8793', 'u', '6173', '933', '9195', '7203', 'k', 'K']

A: 1753, 4741, 3853, U, J, S, 3935, G, 7475, s, j, z, 1513, K, w, 9075, d, 9707, 8793, u, 6173, 933, 9195, 7203, k
****
Q: 1, ['7471', '981', '5705', 'O', 'U', '6941', '5009', 'E', 'S', 'H', 't', '2023', '2103', 'b', 'y', 'T', '6853', '5037', 'O', 'c', '7053', '3319', 'I', '997', '1783', 'B', '7847', '4555', '3395', 'p']

A:
7471, 981, 5705, O, U, 6941, 5009, E, S, H, t, 2023, 2103, b, y, T, 6853, 5037, O, c, 7053, 3319, I, 997, 1783, B, 7847, 4555, 3395
****