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.
12, ['7681', 'P', 'O', '7193', '6731', 't', '1211', 'L', '5521', 'b', '5497', '8485', '649', 'P', 'z', '4755', 'D', '7777', '5377', '7355', 'x', '9523', '5505', '4147', '179', 'M']