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, ['8225', 'u', 'A', '8487', '2577', '2673', '4737', 'g', '7357', '9919', '5533', 'F', 'p', 'K', '3561', 'O', '5123', '3779', 'F', 'q', 'h', 'F', 'D', 'K']