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.
1, ['r', '8617', 'm', 't', '9085', '9671', '5775', '283', 'l', 'H', '9519', '1883', 'W', '6939', 'F', 'c', 'v', '567', '5049', '6753', 'o', '1083', 'b', '9675', 'n', '4149', '2647']