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]: 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]: 9, ['y', '7739', 'B', 'u', '3015', 'R', 'Y', '5359', 'x', '2305', 'G', '7425', '2775', 'J', '3019', '2907', 'r', '7089', 'i', '975', '9735', '5701']
[EX A]: y, 7739, B, u, 3015, R, Y, 5359, x, 2305, G, 7425, 2775

[EX Q]: 6, ['w', 'd', '7027', '7477', 'T', '8477', '1959', '7569', '3743', '9985', 'L', 'N', '4305', '553', 'k', '293', '6939', '5389']
[EX A]:
w, d, 7027, 7477, T, 8477, 1959, 7569, 3743, 9985, L, N