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.

[EX Q]: 1, ['5029', 'G', '7519', '245', '7259', '2721', '9305', 'l', '2419', '4031', '9295']
[EX A]: 5029, G, 7519, 245, 7259, 2721, 9305, l, 2419, 4031

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

[EX Q]: 1, ['X', '7371', '985', 'S', '7917', '8089', 'd', '4943', '1069', '3507', '8755', '125', 'c', 'h', 'S', 'H', '5053', '5681', '2401', 'E', 'G', '5387']
[EX A]:
X, 7371, 985, S, 7917, 8089, d, 4943, 1069, 3507, 8755, 125, c, h, S, H, 5053, 5681, 2401, E, G