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.
10, ['W', '4041', '6977', '3933', 'f', '8869', 'W', '9933', 'd', 'y', 'X', '9333', 't', '6233', 'S', 'b', '1077', 'g', '8301', '8327', '8453', 'g', '4103', '1539', 'I', '1649']