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.
8, ['y', 'U', 'N', '2369', 'w', '39', 'T', 'W', '4765', '5959', 'F', 'u', 'b', '861', '11', '9283', 'T', '5443', '1453', 'R', '2773', '7615', 'f', '7677', 'm', 'K', 'o', '663', 'w']