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, ['6559', 'R', '4925', 'c', '5437', 'I', '6551', '2853', 'j', '2775', '3157', 'X', '1467', '869', '2837', '1001', 'e', '7835', '9059']
[EX A]: 6559, R, 4925, c, 5437, I, 6551, 2853, j, 2775, 3157, X, 1467, 869, 2837, 1001

[EX Q]: 2, ['7289', '5445', 'I', 'M', 'A', '523', '3831', 'd', 'k', 'H', 'B', 'f', 'J', '3723', '5911', 'n', 'P', '1647', 'F', '4287', '5909', '2037', 'u', '3593', 'x', '7863']
[EX A]: 7289, 5445, I, M, A, 523, 3831, d, k, H, B, f, J, 3723, 5911, n, P, 1647, F, 4287, 5909, 2037, u, 3593

[EX Q]: 1, ['r', '8617', 'm', 't', '9085', '9671', '5775', '283', 'l', 'H', '9519', '1883', 'W', '6939', 'F', 'c', 'v', '567', '5049', '6753', 'o', '1083', 'b', '9675', 'n', '4149', '2647']
[EX A]:
r, 8617, m, t, 9085, 9671, 5775, 283, l, H, 9519, 1883, W, 6939, F, c, v, 567, 5049, 6753, o, 1083, b, 9675, n, 4149