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, ['f', 'T', 'Q', '2673', 'h', 'G', '8047', 'U', 'V', '1971', '2141', 'E', 'm', 'f', '8691', 'W', '7519', 'S', 'f', '1561', 'O', '9937', 'W', 'M', '2033', 'S', 'e', '5501']