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, ['p', '139', '687', '4961', '4795', 'o', 'b', 'K', 'd', 'I', 'M', 'W', '5525', 'K', 'k', '8047', '6327', 'y', '6639', '507', 'd', '6217', '1455', 'E', 'G', 't', 'f', 'C', '8861', '8481']