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, ['A', 'w', '9367', 'j', 'J', '457', 'z', 'C', 'V', 'S', 'P', '8791', '8675', '2373', 'w', 'B', 'p', 'y', '1057', '4815', '5749', 'v', '1123', 'f', 'p']
[EX A]: A, w, 9367, j, J, 457, z, C, V, S, P, 8791, 8675, 2373, w, B, p, y, 1057, 4815

[EX Q]: 9, ['A', 'z', 'V', 'm', 'Y', '6679', 'v', 'J', '5091', '5873', 'A', 'Q', 'H', '4897', '7143', 'l', '6091', 'D', '2423', '351', '4757', 'v', 'N', 'X', 'R', '3483', 'q', '2729', '2517']
[EX A]: A, z, V, m, Y, 6679, v, J, 5091, 5873, A, Q, H, 4897, 7143, l, 6091, D, 2423, 351

[EX Q]: 1, ['T', '3199', 'P', '7381', '9477', 'x', '2507', '5083', '5437', '5693', '5687', 'z', '6307', '6567', 'D', 'g', '9179', '849', 'X', 'k', '1837', '2721']
[EX A]:
T, 3199, P, 7381, 9477, x, 2507, 5083, 5437, 5693, 5687, z, 6307, 6567, D, g, 9179, 849, X, k, 1837