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, ['1063', 'q', 'D', '9689', '4921', 'Z', '9203', '9771', 'n', '7059']
[EX A]: 1063, q, D, 9689, 4921, Z

[EX Q]: 6, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']
[EX A]: 6381, u, d, 7355, t, X, n, S, s

[EX Q]: 9, ['1965', 'Z', 'K', '4999', '2605', 'g', 'a', '153', '6039', '7343', '2027', 'e', '6077', '2311', 'k', 'J', '2917', 'b', '9623', '6301', 'o', '6733', '5535', 'p', 'V']
[EX A]:
1965, Z, K, 4999, 2605, g, a, 153, 6039, 7343, 2027, e, 6077, 2311, k, J