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]: 4, ['b', '551', '5871', '453', '5753', '1125', 'z', 'j', '8191', 'D', '781', '4055']
[EX A]: b, 551, 5871, 453, 5753, 1125, z, j

[EX Q]: 5, ['G', '1303', '4847', '8601', '1243', 'o', '4001', 'Z', '2907', 'b', 'M', 'F', '6585', 'Q', '2829', '4275', '4821', 'g', 'h', 'o', 'C', '1059', 'L', '9531', '3303']
[EX A]: G, 1303, 4847, 8601, 1243, o, 4001, Z, 2907, b, M, F, 6585, Q, 2829, 4275, 4821, g, h, o

[EX Q]: 2, ['5103', 'U', 'y', '4881', 'g', 'k', 'f', '307', '8397', 'j', '9805', '629', '613', '1841', 'M']
[EX A]:
5103, U, y, 4881, g, k, f, 307, 8397, j, 9805, 629, 613