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, ['1019', '647', 'Z', 'b', '4449', 'e', 'S', 'z', '6025', 'Z', 'm', '1091', '6065', 'X', '7777', '2327', '461', '8899', 'r', 'f', 'f', '3669', 'j', 'o', '7281']