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.

[Q]: 7, ['E', '2953', 't', 'M', '7543', 'X', 'J', 'N', 'N', 'J', 'w', 'c', '2417', 'p', '9453', 'O', '3625', 't', 't', 'a', 'v', 'N', 'U', 's']
[A]: E, 2953, t, M, 7543, X, J, N, N, J, w, c, 2417, p, 9453, O, 3625


[Q]: 2, ['M', '4555', '3495', '6283', '6109']
[A]: M, 4555, 3495


[Q]: 6, ['H', 'T', 'A', '253', 'G', 'd', '5407', '6689', '529', 'I', 'n', 'F', '5605', 'O', '2329', 'P', '6961', 'V', '7295', 'z', 'C']
[A]:
H, T, A, 253, G, d, 5407, 6689, 529, I, n, F, 5605, O, 2329