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]: 2, ['6893', '3653', '2891', 'V', 'l', 'U', '2921', '403']
[EX A]: 6893, 3653, 2891, V, l, U

[EX Q]: 2, ['r', '7699', 's', 'c', '9657']
[EX A]: r, 7699, s

[EX Q]: 1, ['G', 'I', 'b']
[EX A]:
G, I