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, ['3895', '8895', 'O', '8721', 'E', '629', '9697', '7673', 'y', 'x', 'W', 'Q', '7823', '3037', '2699', 'X', 'E', '1591', 'T', '1389', 'D', 'L', 'x', '5121', 's', '6817', '4425', '1409', 'E', '2835']