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]: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']
[EX A]: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q

[EX Q]: 8, ['3873', '4431', '4295', 'W', 'X', 'U', 'X', '1877', 'u', '5755', '9109', '5211', '3037', 'V', 'S', 'c', 'O']
[EX A]: 3873, 4431, 4295, W, X, U, X, 1877, u

[EX Q]: 2, ['1037', 'H', '8113', 'D', '8345']
[EX A]:
1037, H, 8113