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, ['9083', 'j', '8775', 'x', '9285', 'v', 'I', 'h', 'H', '7307', 'o', 'L', '9199', '8561', 'I', 'T', '8943', '7839', '6375', '1091', 'S']