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]: 3, ['9165', 'N', 'f', '5277', 'J', 'g', '833', '3227']
[EX A]: 9165, N, f, 5277, J

[EX Q]: 1, ['8719', '2065', '6543', '1651', '7037', 'v', '3919']
[EX A]: 8719, 2065, 6543, 1651, 7037, v

[EX Q]: 5, ['2985', '3539', '9941', 'z', '751', 'x', '5549', '451', '7957', 'w', '8579', 's', '1561', 'b', '7083', 'X', 'i', 'L', 'o']
[EX A]:
2985, 3539, 9941, z, 751, x, 5549, 451, 7957, w, 8579, s, 1561, b