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.
2, ['7227', '603', 'F', '563', '9293', 'x', '1173', 'm', '521', 'X', 'V', 'i', 'm', '2527', '3773', '1925', '2623', 'w', '495', '5423', '7009', 'd', '9071', 'I', 'f', 'D', '8323', '2669', '3539']