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]: 7, ['D', 'K', '9949', 'T', '8527', 'c', 'P', 'm', 'R', '2179', '8543', '5025', 'F', '2843', '9401', 'd', '8081', '567']
[EX A]: D, K, 9949, T, 8527, c, P, m, R, 2179, 8543

[EX Q]: 1, ['s', '7121']
[EX A]: s

[EX Q]: 10, ['5255', 'U', '391', '7835', 'Y', 'F', 'l', 'A', '5633', '3555', '1799', 'd', 'v', '8303', 'b', '725', 'W', 'i', 'n', '2867', 'l', '8341', '4293', 'u', 'o', 'w', '1765', '4355']
[EX A]:
5255, U, 391, 7835, Y, F, l, A, 5633, 3555, 1799, d, v, 8303, b, 725, W, i