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, ['5263', '8669', '8175', 't', 'a', 'c', '217', '891']
[EX A]: 5263, 8669, 8175, t

[EX Q]: 2, ['4201', 'a', '3801', 'z']
[EX A]: 4201, a

[EX Q]: 3, ['179', 'a', '17', 'Y', 'Y', '1883', '615']
[EX A]:
179, a, 17, Y