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, ['t', 'x', 't', 'O', 'L', '2937', 'A', '4883', '745', 'H', '1661', 'u', '9837', '7675', '7471', '3781', 'n', '8275']
[EX A]: t, x, t, O, L, 2937, A, 4883, 745, H, 1661, u, 9837, 7675, 7471

[EX Q]: 3, ['p', '7857', 'h', '7041', '7917', '1685', 'o', 'P', '5675', 'W', 'Z', 'L', 'W', 'z', '3111', 'm', 'n', '8823', 'R', '5619', '9219', 'M', 'a', '4991', '7801', '8387', '7483', 'Q', '789']
[EX A]: p, 7857, h, 7041, 7917, 1685, o, P, 5675, W, Z, L, W, z, 3111, m, n, 8823, R, 5619, 9219, M, a, 4991, 7801, 8387

[EX Q]: 7, ['r', 'U', 'o', '2059', 'U', 'B', 'I', '1313', 'Q', '5183', '6001', '3795', 'E', '4031', '8847']
[EX A]:
r, U, o, 2059, U, B, I, 1313