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, ['1771', '9015', 'O', '5351', '8293', '8339', 'z', '333', '1363', 'c', 'd', '289', 'h', '6077', '9075', '5267', 'd', 'b', '7301']
[A]: 1771, 9015, O, 5351, 8293, 8339, z, 333, 1363, c, d


[Q]: 6, ['4101', '3515', '7531', '5413', 'o', 'M', '577', '265', '6957', '1919', 'R', 'u', 'I', '7995', '4437', '5393', 'D', '3235', '7859', 'N', '5469', 'E', '2199', '9647', '8557', '8371', 'g', '411']
[A]: 4101, 3515, 7531, 5413, o, M, 577, 265, 6957, 1919, R, u, I, 7995, 4437, 5393, D, 3235, 7859, N, 5469, E


[Q]: 6, ['419', '4787', 'w', 'O', 'f', '6079', '3445', 'y', 'c', 'D', 'm', '6333', '6583', '3329', 'S', '6175', '9329', 'D', '9983', 'b', 'G', '7755', '5823', '5931', '9495', '6397', '9371']
[A]:
419, 4787, w, O, f, 6079, 3445, y, c, D, m, 6333, 6583, 3329, S, 6175, 9329, D, 9983, b, G