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.
8, ['w', 'a', '8359', 'b', '6583', '8551', 'A', '6755', '7669', 'M', '6293', 't', '5951', '4753', '635', 'N', 'V', '1425', 'l', '3749', 't', '1051']