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, ['8017', 'Z', 'w', '6137', '8727', '6849', '8499', '3995', '5903', '8037', 'k', '6777', '3017', '9239', '9319', '2575', '8921', 'o', '7007', '5923', '2591', 'a', '4575', '1549', 'C', '4225', '9663']
A:
8017, Z, w, 6137, 8727, 6849, 8499, 3995, 5903, 8037, k, 6777, 3017, 9239, 9319, 2575, 8921, o, 7007, 5923, 2591, a, 4575