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]: 5, ['h', '5371', 'Y', 'E', '4733', '9039', 'w', 'p', '1229', '4813', '2273', 'q', '1831']
[EX A]: h, 5371, Y, E, 4733, 9039, w, p

[EX Q]: 5, ['U', '3021', 's', '2595', 'g', 'q', '3943', 'M', 'X', '9035', 't']
[EX A]: U, 3021, s, 2595, g, q

[EX Q]: 11, ['1703', 'B', 'k', '4799', 'q', '1147', '4463', '2203', 'h', 'j', '9681', 'O', '5913', 'e', 'N', 'j', '1567', '887', '9227', 'k', '7545', '939', 'K', '835', 'h', '3711']
[EX A]:
1703, B, k, 4799, q, 1147, 4463, 2203, h, j, 9681, O, 5913, e, N