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, ['t', 'x', 't', 'O', 'L', '2937', 'A', '4883', '745', 'H', '1661', 'u', '9837', '7675', '7471', '3781', 'n', '8275']

A: t, x, t, O, L, 2937, A, 4883, 745, H, 1661, u, 9837, 7675, 7471
****
Q: 1, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']

A: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701
****
Q: 2, ['8703', 'z', '8051', 'v', 'F', 'V', 'n', '8355', '7785', '5747', '5931', 'L', 'J', 'J', '7341', '7361', 'U', '5513', 'g', '8609', 'k', '2125', 'z', 'O', 'b', '3885', 'Q', 'D', 'F']

A:
8703, z, 8051, v, F, V, n, 8355, 7785, 5747, 5931, L, J, J, 7341, 7361, U, 5513, g, 8609, k, 2125, z, O, b, 3885, Q
****