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.
11, ['8605', '7183', '1789', '8753', 'N', '3789', 'n', '6975', '8871', 'R', '6471', 'G', '845', '225', '5619', '3955', '5265', 'g', 'z', '6565', 'e', '3875']