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.
9, ['t', 'S', '5183', 'x', '739', '381', 'F', 'm', 'P', 'v', 'S', 'J', '7301', 'z', '7513', 'Y', 'V', '9527', 'l', 'E', 'W', '6093', '8641', 'z', '8923', '537', 'W']