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]: 1, ['9579', 'A', 'z', '2039', 'a', 'E', 'v', 'n', 'H', 'D', '1505', '8767', 'T', '1271', '3807', '5677', '8119', '4973', 'k', '3567']
[A]: 9579, A, z, 2039, a, E, v, n, H, D, 1505, 8767, T, 1271, 3807, 5677, 8119, 4973, k


[Q]: 4, ['b', '551', '5871', '453', '5753', '1125', 'z', 'j', '8191', 'D', '781', '4055']
[A]: b, 551, 5871, 453, 5753, 1125, z, j


[Q]: 5, ['7611', 'j', '2735', '7541', '771', '2007', 'G', 'X', 'p', 'c', '3909', '5635', 'J', '7301', '8573', '3083', 'l', '9447', 'Y', 'K', 'R', '4803', 'X', 'W', 'S', '5267', '8953', '1465', 'B', 'D']
[A]:
7611, j, 2735, 7541, 771, 2007, G, X, p, c, 3909, 5635, J, 7301, 8573, 3083, l, 9447, Y, K, R, 4803, X, W, S