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, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']
[A]: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


[Q]: 10, ['4421', 'm', '6963', '6375', '4091', 'x', '6913', 'P', '3573', '8383', '5081', '9329', '5375', 'F', '6687', '5247', 'k', '7757', '7719', 'G', 'C', '2727', 'C', '6229', 'N', 'j', '5087', '8789', '8919', 'r']
[A]: 4421, m, 6963, 6375, 4091, x, 6913, P, 3573, 8383, 5081, 9329, 5375, F, 6687, 5247, k, 7757, 7719, G


[Q]: 4, ['5325', '2289', '8845', 'F', 'L', 'H', '119', 'x', '6019', '3637', '9727', '5859', '3835', 'F', 'C', 'Q', '343', 'y', '9375', '6819', 'l', 'p', '815', '2143', '2567', 'g', 'c', '3297']
[A]:
5325, 2289, 8845, F, L, H, 119, x, 6019, 3637, 9727, 5859, 3835, F, C, Q, 343, y, 9375, 6819, l, p, 815, 2143