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.
7, ['7629', 'o', '2559', '3703', 'B', '619', 'p', '6399', '7823', '1077', 'e', 'W', 'd', '3595', 'J', 'F', 'W', 'W', 'f', '8345', '7013', 'n', '5477', '7157', 'r', '6433', 'f']