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.
13, ['A', 'p', '3023', 'G', '9527', 's', 'x', 'M', '6915', 'p', 'u', '9235', 'B', 'F', '4125', '8687', '4343', 'R', 'h', 'd', 'J', '8243', '1237', '3103', 'M', 'X', '7005', '8901']