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]: 5, ['D', '7693', '4159', '7783', '6083', '4435', '1319', '7397', 'R', '4939', 'T', 'f', '5437', '4013', 'k', '8017', '8495', '9241', 'b']
[A]: D, 7693, 4159, 7783, 6083, 4435, 1319, 7397, R, 4939, T, f, 5437, 4013


[Q]: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']
[A]: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591


[Q]: 5, ['2825', 'y', 'Q', '511', 'Y', '9321', 'X', '5305', '5409', '383', 'R', 'u', '2599', 'd', '7251', '2433', 'g', '1723', '3925']
[A]:
2825, y, Q, 511, Y, 9321, X, 5305, 5409, 383, R, u, 2599, d