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]: 1, ['2725', '4871']
[A]: 2725


[Q]: 1, ['8593', 'X']
[A]: 8593


[Q]: 14, ['E', '9307', 'C', 'I', 'X', '5905', '6233', '6345', 'm', '2679', '5609', '6689', 'Y', 'D', 'w', 'm', '967', 'P', 'j', '3207', '221', 'w', '9363', '6207', 'a', 'X', '1909', 'p', '827']
[A]:
E, 9307, C, I, X, 5905, 6233, 6345, m, 2679, 5609, 6689, Y, D, w