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.

[EX Q]: 1, ['6587', 'e', 't', 'F', 'g', '9487', '7565', 'k', 'R', 'F', '6891', '143', 'k', '327', '3797', 'C', 'P', 'P', '5053', '7441', 'm', '5799', 'Q']
[EX A]: 6587, e, t, F, g, 9487, 7565, k, R, F, 6891, 143, k, 327, 3797, C, P, P, 5053, 7441, m, 5799

[EX Q]: 2, ['5189', '805', 'U', '7527', 'Q', 'J', '4927', '8677', 'Y', '2871', '1193', 'C', 'I', '4667', '8127', '9073', '3075', '6297']
[EX A]: 5189, 805, U, 7527, Q, J, 4927, 8677, Y, 2871, 1193, C, I, 4667, 8127, 9073

[EX Q]: 13, ['783', '7913', 'h', 's', '3195', 'k', 'V', 'g', 'o', 'T', 'H', '2117', '3035', 'Z', '5743', 'w', '7635', 'X', '9521', 'T', '3399', 'Q', '7265', '81', 'J', '4847', '1345', '6713', 'k', '4381']
[EX A]:
783, 7913, h, s, 3195, k, V, g, o, T, H, 2117, 3035, Z, 5743, w, 7635