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.
3, ['9353', 'b', 'z', '4819', '8563', 'p', '8703', '4889', 'X', 'O', '8751', '5227', '4971', '6751', '2061', '7125', 'P', 'O', 'u', 'd', 'm', '6959', 'v', 'Y']