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.
9, ['1357', '657', 'U', '7151', 'S', 'H', 'X', 'C', '8703', 'X', 'z', 'd', '1763', '3609', 'Q', 'O', '4571', 'q', 'Z', 'E', '8205', 'C', '8905', 'G']