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]: 6, ['x', '7725', '833', 'B', 'p', 'F', '591', 'A', 'C', '1785', '2309', 'E']
[EX A]: x, 7725, 833, B, p, F

[EX Q]: 3, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']
[EX A]: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

[EX Q]: 5, ['2905', '8299', '8635', 'e', '8833', '3137', '7109', '8535', 'y', 'o', 'c', '6837', '3693']
[EX A]:
2905, 8299, 8635, e, 8833, 3137, 7109, 8535