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.
1, ['n', '8037', 'b', 'Z', 'Q', 'b', 'O', '9679', 'I', 'v', 'u', 'u', 'Q', '3689', '6609', '6665', 'z', 'm', '2959', 'Q', '157', 'J', 'z', '1385', '2325', 'x', '1903']