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]: 11, ['2469', '1517', 'd', 'L', '1125', '4309', 'o', '4507', '995', '5651', 'E', 'd', '3829', 'w', '3629', '9891', 'o', 'F', 'q', 'v', 'u', '2883', '8831', '9241', 'c', 'Q', '5163', '8733', '579']
[EX A]: 2469, 1517, d, L, 1125, 4309, o, 4507, 995, 5651, E, d, 3829, w, 3629, 9891, o, F

[EX Q]: 7, ['7083', 'W', 'U', 'W', '9063', 'K', '483', '8061', '9959', '8881', 'F', 'Q', 'I', '1765', 'o', '8883', 'b', '7093', 'Z', 'n']
[EX A]: 7083, W, U, W, 9063, K, 483, 8061, 9959, 8881, F, Q, I

[EX Q]: 6, ['I', 'y', 'Z', '5675', '1831', '927', '7633', '2955', '8463', '3099', '2529', 'l', '8737', 'r', '6865', 'Y']
[EX A]:
I, y, Z, 5675, 1831, 927, 7633, 2955, 8463, 3099