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, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']
[A]: t, 51, 4787, 2989, o, J, 7547, 5727, 5705


[Q]: 2, ['5957', '3849', '607', '7883', 'y', 'y', '3165', '2541', 'z', 'g', '6123', 'q', '527', 'q', '8515', '1189', 't', 'e', 'j', '1389', '7571', '7485', '1017', '3799', '6519']
[A]: 5957, 3849, 607, 7883, y, y, 3165, 2541, z, g, 6123, q, 527, q, 8515, 1189, t, e, j, 1389, 7571, 7485, 1017


[Q]: 1, ['7527', 'V', 'r', 'G', 'I', 'l', 'N', '7293', 'M', '4721', 'O', '9199', 'a', 'B', '1925', '841', '5687', 'P', 'o', 'H', 'y', 'b', '5477']
[A]:
7527, V, r, G, I, l, N, 7293, M, 4721, O, 9199, a, B, 1925, 841, 5687, P, o, H, y, b