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.
12, ['2563', 'U', '5531', 'y', '2739', 'B', 'w', 'y', 'z', 'i', 'e', 'B', '8091', 'u', 'K', 'R', 'B', 'q', '8319', 'r', '1037', 'w', '6707', 'a', 'b', '8539']