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, ['w', '3769', '7435', '3113', '7547', 'X', '3743', 'O', 'j', 'X', '7535', 'A', 'a', 'f', 'W', 'D', '4409', '4181', '1009', '569', 'A', '6663', '7621']