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, ['819', '2779', 'j', '1773', '6615', 'Q', 'n', '5113', 'v']
[EX A]: 819, 2779, j, 1773, 6615, Q, n, 5113

[EX Q]: 2, ['c', 't', '8783', 'E', '5327', '7383', '6607', 'R', '5779', 'B', 'k']
[EX A]: c, t, 8783, E, 5327, 7383, 6607, R, 5779

[EX Q]: 7, ['u', 'I', '4591', 'Z', '783', 'v', 'e', '7741', 'x', '1139', '9401', 's', 'K', 'Q', 'm', '8023', 'C', 'T', '4953', '1435', '3605', '5997', '7519', '3165', '9969']
[EX A]:
u, I, 4591, Z, 783, v, e, 7741, x, 1139, 9401, s, K, Q, m, 8023, C, T