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, ['L', 'e', '2543', '5425', 'N', '9257', 'P', '7295', 'h', '7417', '3627']
[EX A]: L, e, 2543, 5425, N, 9257, P, 7295

[EX Q]: 2, ['k', '8415', '5017', 'B', 'j']
[EX A]: k, 8415, 5017

[EX Q]: 1, ['4225', '397', 'a', 'A', 'G', 'o', '67', '759', '5019', '7623', '9193', 'V', '201', 't', '8973']
[EX A]:
4225, 397, a, A, G, o, 67, 759, 5019, 7623, 9193, V, 201, t