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.
2, ['8703', 'z', '8051', 'v', 'F', 'V', 'n', '8355', '7785', '5747', '5931', 'L', 'J', 'J', '7341', '7361', 'U', '5513', 'g', '8609', 'k', '2125', 'z', 'O', 'b', '3885', 'Q', 'D', 'F']