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.
11, ['C', 'W', '2473', '6607', 'k', '6671', 'K', 'U', '799', '3427', '7835', '1127', 'X', 'T', 'F', 'l', '4775', '8155', 'a', '8499', '4977', 'y', 'o', 'J', 'A', 'w', 'D', 'x', '7505', 'p']