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, ['9291', 'e', 'L', 't', '6369', 'C', 'U', '8809', '1379', 'e', 'w', 'C', '743', '8215', '7861', 'E', 'b', '4949', '8497', '6931', 'p']