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.
2, ['W', 'n', '7081', '5271', 't', '6993', 'x', 'c', 'z', '8067', 'N', 'i', '4129', '4881', 'm', '8441', 'H', '8737', 'v', '1221', 'c', '6019', '5623', 'l', '3403', '8539', 'b', 'c']