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.

[Q]: 2, ['k', '8415', '5017', 'B', 'j']
[A]: k, 8415, 5017


[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']
[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


[Q]: 7, ['175', 'p', '271', '6413', 't', '4213', 'D', '1107', 'o', '6991', 'p', 'G', 'M', '8589', 'M', '5575', 'C']
[A]:
175, p, 271, 6413, t, 4213, D, 1107, o, 6991