Detailed Instructions: 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: 4, ['8535', '7779', 'X', 'x', 'X', 'W', '5295', 'l', '9897', '7459', '9811', '9061', '7191', 'm', 'R', '6415', '3193', 'U', '4887', '5079', 'e', 'P', '2265']
A:
8535, 7779, X, x, X, W, 5295, l, 9897, 7459, 9811, 9061, 7191, m, R, 6415, 3193, U, 4887