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, ['8369', '645', 'm', '6485', 'X', '381', 'o', '6987', '5085', 'I', 'r', '6989', '5693', 'l', 'e', 'j', 'X', '7677', '2387', '963', 'R', '6045', '513', '8711', '681', 'D']