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.
1, ['5593', 'n', 'l', 'e', 'Q', 'w', 'Q', '9301', 'G', 'R', '3143', 'L', '4863', 'w', '8099', '2765']