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.
11, ['181', 'p', 't', '7795', '1223', '9481', 'c', '3629', 'Z', 'k', '9619', 'S', '8659', '6257', 'a', 'x', '6411', 'G', '2785', '2407', 'h', 'r', 'a', 'x', 'k', '4267', '8485']