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.

[Q]: 3, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']
[A]: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593


[Q]: 3, ['x', 'y', 'M', '9519', '6553', '7497', 'j', '9587', 'g', '9393', 'C', 'T']
[A]: x, y, M, 9519, 6553, 7497, j, 9587, g


[Q]: 2, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']
[A]:
t, 51, 4787, 2989, o, J, 7547, 5727, 5705