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.
12, ['3111', '1119', '3427', 'V', '2275', 'M', '8023', 'V', '3915', 'k', '899', '4741', 'K', '7109', 'Q', '7537', '5037', 'S', 'w', '6533', '9419', 'N', '9779', 'E', 'Q', 'y', 'N', 'F']