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, ['6637', 'N', '4719', '8879', '3027', 'f', '685', 'i', '2043', 'o', 'r', 'a', 'E', '8489', '1205', 'v', 'f', 'a', '7255', 'F', '5619', '2665', '923', 'f', 'a', '2403', 'x', '4761', '3419', 'q']