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, ['211', 'z', '4819', 'f', 'P', '8375', '3497', 'i', 'b', '6671', 'M', '8833', 'J', '991', '733', 'R', '8757', 'p', 'f', 'E', 'z', '4623', '291', '3859', 'R', 'C', 'e', 'O', '8487', 'b']