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]: 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]: 2, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']
[EX A]: 4745, 1001, z, c, 143, d, 3291, r, 5543

[EX Q]: 11, ['e', '4733', '655', 'O', 'S', '3993', '2793', 'U', 'k', 'v', '5739', '115', '2713', 'r', '9665', 'I', 'k', 'N', '6237', '3339', '8901', '113', '4575', '959']
[EX A]:
e, 4733, 655, O, S, 3993, 2793, U, k, v, 5739, 115, 2713