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, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']
[EX A]: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079

[EX Q]: 1, ['6421', '8369', 'Y', '6487', '7131', '2359', 'e', '2763', 'L', '6021', '1685', 'A', '9371', '7243', 'I', 'T', '659', 'E', '6979']
[EX A]: 6421, 8369, Y, 6487, 7131, 2359, e, 2763, L, 6021, 1685, A, 9371, 7243, I, T, 659, E

[EX Q]: 9, ['2485', '7139', '9479', '9161', 'a', '5689', '6215', '3853', 'a', '8089', '9811', '3071', 'M', '7493', 'N', '9535', '2575', 'W', '3827']
[EX A]:
2485, 7139, 9479, 9161, a, 5689, 6215, 3853, a, 8089