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, ['7081', 'H', 'T', '295', '1469', 'E', 'V']
[A]: 7081, H, T, 295


[Q]: 3, ['323', 'C', 'R', '5703', 'E', '1017', '4417', 'W', '2391', '7173', '1207', '7323', 'v', 'Q', '9621', 'N', '2419', 'o', 'v', 'B']
[A]: 323, C, R, 5703, E, 1017, 4417, W, 2391, 7173, 1207, 7323, v, Q, 9621, N, 2419


[Q]: 13, ['a', 'Q', 'y', 'R', 'N', 'L', '1953', 'E', 'O', '3471', '7885', 'D', 'W', 'i', 'C', '5917', 'u', '5799', '291', 'R', 'w', 'k', '8107', 's', '6765', '4915', '5633', '2793']
[A]:
a, Q, y, R, N, L, 1953, E, O, 3471, 7885, D, W, i, C