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]: 3, ['Y', '959', '1399', 'T', 'R', 'o']
[A]: Y, 959, 1399


[Q]: 6, ['7151', 'S', '4193', '6261', 'H', '4623', '1455', 't', '1421', 'e', '4227', '4719', 'g', 'V', 'Z', 't', 'z', '5603', '5745']
[A]: 7151, S, 4193, 6261, H, 4623, 1455, t, 1421, e, 4227, 4719, g


[Q]: 3, ['M', '2101', '6489', '1697', 'L', 'N', 's', '1667', '6571', '3445', '5547', '3833', 'g', 'E', '8929', 'Q', 'U', 'S', 'w', '5897', 'C', 'c', '8419', '243', 'P', '2783', 'b', '4901', 'k', '8443']
[A]:
M, 2101, 6489, 1697, L, N, s, 1667, 6571, 3445, 5547, 3833, g, E, 8929, Q, U, S, w, 5897, C, c, 8419, 243, P, 2783, b