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, ['e', 'y', '8917', '7369', '4875', 'd', '6673', 's', '1561', '8065', '6399', 'A', '3771', 'n', 'A', 'b', 'o', '9027', 'l', 'i', '3105', '3251', 'j', 'y', '6523']