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.
3, ['m', '7177', '3225', '1305', '6517', '5181', '8193', '3535', 'O', 'Z', '4397', '4065', 'f', '301', '323', '8693', 'W', 'q', 'D', 'H', '1687', '7111', 'A', '7429', 'z', 'Z']