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: 1, ['Y', '7135', '9601', 'U', 'l', 'y', '9113', '4389', 'l', '8009', 'M', 'D', '5721', 'u', '5437', 'j', '3101', 'X', 'f', '8845', '2795']

A: Y, 7135, 9601, U, l, y, 9113, 4389, l, 8009, M, D, 5721, u, 5437, j, 3101, X, f, 8845
****
Q: 5, ['1455', 'C', '4659', 'A', '557', 'n', 'R', '4853', '9623', 'Y', '5985', '8355', 'q']

A: 1455, C, 4659, A, 557, n, R, 4853
****
Q: 7, ['4613', 'D', '4211', 'u', '5831', '1425', 'I', '4287', '2059', '663', 'V', 'K', '367', '2847', '6899', '7841', '6687', '8763', '4155']

A:
4613, D, 4211, u, 5831, 1425, I, 4287, 2059, 663, V, K
****