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, ['8635', '3253', '709', '2759', '2535', '6975', '9879', '7747', '7387', '4397', '957', '2959', '1081', '8099', 'Z', '1557', 'o', '2739', '3339', '7941', 'x', '2883', 'E', 'U', '17']