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.
13, ['w', 'b', '3', '3031', '8995', '4329', 'B', 't', '5137', '3077', '6357', 'X', '8519', 'C', '2743', '409', '4559', '3115', 'f', '2943', 'K', 'I', '5649', '7977', 'r', 'M', '5873', 'd', 't']