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]: 4, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']
[EX A]: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O

[EX Q]: 2, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
[EX A]: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z

[EX Q]: 9, ['O', 'F', '919', 'b', 'z', '8149', 'O', 'F', 'a', 'c', 'M', '7257', 'R', '9007', 'p', '1189', 'n', '2143', '2469', '8385', 'H', 'n']
[EX A]:
O, F, 919, b, z, 8149, O, F, a, c, M, 7257, R