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.
11, ['7017', 'c', 'Z', 'a', '5629', 'b', 'e', '5139', 'V', 's', 'm', 'Z', '6831', 'J', 'W', 'r', '8429', '5805', 'c', '3683', 'b', 'J', 'Z', '9183', 'j', 'p', '4451']