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: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']

A: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q
****
Q: 2, ['r', '7699', 's', 'c', '9657']

A: r, 7699, s
****
Q: 1, ['681', 'L', '4723', 'g', 'g', '9299', 'w', 'L', 's', 'E', '2725', 'y', '7559', '9943', 'E', '6189', 'N', '9439', '7223', '8989', '9239', 'U', '695', '2289', 'l', 'l', '659']

A:
681, L, 4723, g, g, 9299, w, L, s, E, 2725, y, 7559, 9943, E, 6189, N, 9439, 7223, 8989, 9239, U, 695, 2289, l, l
****