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]: 2, ['S', 'j', '3363', 'F', '4755', 'M', 'j', '3675', 'v', '8531', '8159', '3165', 'e', '5189', 'O', 'V', '5953', 'N', '3761', '5969', 'k', 'f', '9601', '1725', 'r', '7341', 'S', '2223', 'k']
[EX A]: S, j, 3363, F, 4755, M, j, 3675, v, 8531, 8159, 3165, e, 5189, O, V, 5953, N, 3761, 5969, k, f, 9601, 1725, r, 7341, S

[EX Q]: 2, ['9977', '1897', '9039', 'W', '3709']
[EX A]: 9977, 1897, 9039

[EX Q]: 2, ['z', 'w', 'k', 'R', '3537', 'L', 'x', '381', 'K', '7327', 'd', '9175', '6701', 'n']
[EX A]:
z, w, k, R, 3537, L, x, 381, K, 7327, d, 9175