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, ['U', '8289', '3197']
[EX A]: U, 8289

[EX Q]: 1, ['O', '6951', '5741']
[EX A]: O, 6951

[EX Q]: 1, ['5753', 'z', '9987', '4311', 'z']
[EX A]:
5753, z, 9987, 4311

