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]: 5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']
[EX A]: 6395, 6931, e, 6777, x, k, r, 8745, 6787

[EX Q]: 6, ['k', '1903', 'q', 'D', 'f', '3015', 'r', '4551', '8475', 'K', '8933', 'R', 'z', '8199', 'H', 'j', 'R', '2815', 'K', '3025', '8765', 'S', 'W', 'K', 'I', 'P', '1407', 'n']
[EX A]: k, 1903, q, D, f, 3015, r, 4551, 8475, K, 8933, R, z, 8199, H, j, R, 2815, K, 3025, 8765, S

[EX Q]: 10, ['F', '4611', '9157', '2191', 'o', '1059', '2587', '5901', 'M', '947', '441', 'W', 'v', 'n', '2075', '2145', 'Q', '593', 'c', '1757', '7659', '1179', 'g', '6053', 'T', 'p']
[EX A]:
F, 4611, 9157, 2191, o, 1059, 2587, 5901, M, 947, 441, W, v, n, 2075, 2145