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]: 9, ['A', 'z', 'V', 'm', 'Y', '6679', 'v', 'J', '5091', '5873', 'A', 'Q', 'H', '4897', '7143', 'l', '6091', 'D', '2423', '351', '4757', 'v', 'N', 'X', 'R', '3483', 'q', '2729', '2517']
[EX A]: A, z, V, m, Y, 6679, v, J, 5091, 5873, A, Q, H, 4897, 7143, l, 6091, D, 2423, 351

[EX Q]: 4, ['M', '6571', '2555', 'w', '5679', 'C', '2401', 'Q', 'a', '6885', 'N', '9237', 'p', 'n']
[EX A]: M, 6571, 2555, w, 5679, C, 2401, Q, a, 6885

[EX Q]: 8, ['G', '8427', '1777', '1775', 'm', '8609', '957', '1495', '4177', '7863', 'J', '3175', '2821', '8567', 'g', '9697', 'I']
[EX A]:
G, 8427, 1777, 1775, m, 8609, 957, 1495, 4177