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, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
[A]: 3727, R, h, 1969, v, 5353, A, t, 2237, j


[Q]: 10, ['5481', '2055', '7495', '2107', 's', 'y', 'F', 'e', 'J', 'S', '8789', 'y', 'h', '9131', '775', 'x', 'K', '5149', 'B', '4323', '731']
[A]: 5481, 2055, 7495, 2107, s, y, F, e, J, S, 8789


[Q]: 10, ['7013', 'P', 'a', '7859', 'f', 'T', 'J', 'X', 'G', 'B', '1273', 'v', '5131', 'P', '2569', 'F', 's', 'N', '851', '9613', '2545', '3209', '1777', 'X', 'a', '6359', '8361', '7761']
[A]:
7013, P, a, 7859, f, T, J, X, G, B, 1273, v, 5131, P, 2569, F, s, N