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, ['M', '3663', '101', 'p', 'T', 'J', 'N', '7915', '5897', 'm', 'g', '3357', 'j', 'S', '7271', 'B', '4625', '7827', 'w', 'B', '8123', '6623']
[EX A]: M, 3663, 101, p, T, J, N, 7915, 5897, m, g, 3357, j, S, 7271, B, 4625, 7827, w

[EX Q]: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']
[EX A]: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y

[EX Q]: 4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
[EX A]:
S, 9397, 3571, 6173, 5707, 3343