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, ['k', 'U', 'V', 't', '7875', 'E', 'i', '6211', '3549', 'Y', 'U', '7547']
[EX A]: k, U, V, t, 7875, E, i, 6211, 3549

[EX Q]: 1, ['5173', 'e', 'j']
[EX A]: 5173, e

[EX Q]: 9, ['1073', '3711', 'Y', '9857', '5633', 'I', '2187', '9143', '641', '3243', 'F', '1721', 'x', '2379', 'E', '8213', '523', '9673', 'F', '2829', 'h', 'd']
[EX A]:
1073, 3711, Y, 9857, 5633, I, 2187, 9143, 641, 3243, F, 1721, x