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]: 11, ['1243', 'V', 'G', '9199', '6703', '6297', '4883', 'Y', '783', '6025', '9495', 'q', 'U', 'Q', '6707', 't', '4141', '4765', '3001', '1501', 'X', '9493', 'H', 'R', 'Q', '437']
[A]: 1243, V, G, 9199, 6703, 6297, 4883, Y, 783, 6025, 9495, q, U, Q, 6707


[Q]: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']
[A]: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759


[Q]: 1, ['2063', '3631', '9863', 'Z', '3143', '3649']
[A]:
2063, 3631, 9863, Z, 3143