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]: 1, ['8423', '8687']
[EX A]: 8423

[EX Q]: 2, ['s', '8339', 'x', 'H']
[EX A]: s, 8339

[EX Q]: 2, ['u', '1593', '5203', 'R', 'B', '2919', 'M', 'g', '4605', 'L', '4887', '4925', '6329', 'A', '1175', '2099', 'b', 's', '8821', '1219', '5129', '3255']
[EX A]:
u, 1593, 5203, R, B, 2919, M, g, 4605, L, 4887, 4925, 6329, A, 1175, 2099, b, s, 8821, 1219