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.
14, ['5911', '1141', '6619', 'Y', 'm', 'v', '8973', 'a', '751', '7413', '6433', '8155', 'B', '8949', 'J', '3713', 'F', 'm', 'e', '4457', 'V', '5945', 'j', '7495', '1199', '5085', 'i', 'w', 'S', '8373']