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, ['2111', 'b', 'A', 'z', '4045', 'z', '1521', 'K', 'h', '8331', 'q', 'a', '3357', 'o', '4751', '4473', 'k', '1225', '2997', 'Q', '9703', 'a', '5289', '5183', 'W', '6443', '979', 'u']