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.
4, ['i', 'c', 'x', 'D', '6193', '9921', '8593', '6433', 'O', '9437', '5779', '3091', '513', 'G', 'L', 'F', '8431', 'e', '4181', '2639', 'G', 'G', '8077', '4919']