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]: 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]: 5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']
[EX A]: X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173

[EX Q]: 2, ['9925', '8047', '7245', 'V', '1939', '8317', '6339', 'W', 'J', 'O', '9571', 'Q', '2013', '6243', '851', '4103', 'V', '955', '2797', 'w', 'x', '9135', '4179', '1857', '3557', '3631', '4227', '3941', '4461', '4807']
[EX A]:
9925, 8047, 7245, V, 1939, 8317, 6339, W, J, O, 9571, Q, 2013, 6243, 851, 4103, V, 955, 2797, w, x, 9135, 4179, 1857, 3557, 3631, 4227, 3941