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.
10, ['7579', 'I', '6425', '5409', 'R', '8753', '1545', 'e', 'w', 'x', 'g', 'k', '2205', '5723', '4317', 'i', '9447', '9367', 'p', 'O', 's', '5107', '267', '9831']