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.
11, ['6211', 'd', '8033', '9455', '8355', 'z', '8847', 'm', '9831', 'g', '2641', 'z', '4741', 'p', '9149', 'N', 'y', '3279', 'R', '5705', '7763', '2415', 'c', '273', 'F', '4981', '5875']