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]: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']
[EX A]: 7539, 5355, 5163, 393, U, 9923, E, H, A, K

[EX Q]: 1, ['p', '8843']
[EX A]: p

[EX Q]: 11, ['5895', '6733', '5341', '1389', 'p', '1251', 'N', 'A', '179', 'J', '8885', '1493', '4253', '2327', 'U', '8983', 'R', '45', '4581', '7585', 'f', 'r']
[EX A]:
5895, 6733, 5341, 1389, p, 1251, N, A, 179, J, 8885