Q: 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.
9, ['9827', '2515', '8019', '6759', 'Q', '9883', '4499', 'l', '3189', '2763', 'W', '8387', '6019', 'P', '9105', '5901', '3527', '6305', '9961', 'U', 'Q']
A:
9827, 2515, 8019, 6759, Q, 9883, 4499, l, 3189, 2763, W, 8387