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]: 3, ['9165', 'N', 'f', '5277', 'J', 'g', '833', '3227']
[A]: 9165, N, f, 5277, J


[Q]: 3, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']
[A]: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


[Q]: 3, ['7439', 'g', 'H', '5135', '7885', '9341', '905', 'D', 'j', 'z', 'a', 'l', 'V', '6303', '3', '4649', 'u', 'F', 'l', 'p', '2859', '6257', 'x', '6171']
[A]:
7439, g, H, 5135, 7885, 9341, 905, D, j, z, a, l, V, 6303, 3, 4649, u, F, l, p, 2859