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, ['4455', '8667', 'F', '7333', '9851', 'R', 'F', 'S', '8125', 'i', 'L', '8089', 'm', '9199', 'z', '2449', '9205', '8395', 'L', 'w', 'C', '779', 't', 'W', '7447', '547']