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, ['u', 'A', 'U', 'p', '633', 'r', '9369', '1741', 'F', '5635', 'k', '6183', '8495', '4153', 'y', 'I', '4367', 'y', 'h', '3133', '7917', '2783', 'Z', '6815', 'S']