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.
15, ['y', 'F', 'm', 'g', 'X', 'O', 'I', '4711', 'g', 'o', 'Q', 'z', '9103', 'h', 'M', 'h', 'g', '7043', 'g', '3551', 'M', '3945', 'r', '5063', 'F', 'm', 'C', 'r', 'x', '7859']