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]: 1, ['5173', 'e', 'j']
[A]: 5173, e


[Q]: 1, ['t', '8485']
[A]: t


[Q]: 10, ['6615', 'y', '9561', 'c', '9933', 'Y', '5821', '6321', 'g', '8207', '8809', 'p', 'l', '5825', 'a', 'e', '1535', 'F', '4367', 'w', '2589', '5799', 'f', '4645', '3459', 'z']
[A]:
6615, y, 9561, c, 9933, Y, 5821, 6321, g, 8207, 8809, p, l, 5825, a, e