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: 8, ['3863', '9427', '8093', 'g', '7711', 'T', 'h', 'i', 'a', '4435', 'V', '9541', '1355', '3987', 'w', 'r', '9843', '2299', 'N', '4891', 'w', '1907', '9111', '6405', 'l', '5311', '3407']

A: 3863, 9427, 8093, g, 7711, T, h, i, a, 4435, V, 9541, 1355, 3987, w, r, 9843, 2299, N
****
Q: 6, ['5633', '7953', '9691', '1375', 'q', '8937', '9523', '7009', 'J', 'b', '5747', '9969', 'v', '6527', 'M', 'm', 'P', 'K', 'Y']

A: 5633, 7953, 9691, 1375, q, 8937, 9523, 7009, J, b, 5747, 9969, v
****
Q: 7, ['G', 'K', '6011', 'o', 'i', 'R', 'T', 'A', 'j', '2693', '8863', 'G', '8239', '2267', 'f', '3913', '6329', '7411', '8585', 'B', '5561', '1953', 'D', '5003', 'b', 's', 'h', '9895', 'u']

A:
G, K, 6011, o, i, R, T, A, j, 2693, 8863, G, 8239, 2267, f, 3913, 6329, 7411, 8585, B, 5561, 1953
****