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, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']
[EX A]: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A

[EX Q]: 10, ['5601', '8411', 'y', 'c', 'q', '7963', '1791', 'M', '459', '4021', 'H', 'K', '9797', '6097', '1285', '8899', 'h', '77', '1397', '8967', 'T', 's', '4103', '7311', 'Z', 'U', 'a', '7867']
[EX A]: 5601, 8411, y, c, q, 7963, 1791, M, 459, 4021, H, K, 9797, 6097, 1285, 8899, h, 77

[EX Q]: 12, ['e', 'M', 'W', '3269', '3883', '4847', '3565', 'f', '295', '8431', '3395', 'H', '6805', 'A', 'b', '9459', '9463', 'E', '4013', '6719', 'a', 'O', 'W', 'R', 'G', '7081', 'H', '6469', '9163', '1007']
[EX A]:
e, M, W, 3269, 3883, 4847, 3565, f, 295, 8431, 3395, H, 6805, A, b, 9459, 9463, E