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, ['5333', 'L', '1733', '8607', 'j', '4997', 'k', 'm', '4825', 'W', 'N', '7097', 'i', 'p', '833', '5517', 'u', 'r', '5585', 'A', '7671', '6489', 'Q', '321', '9503', '3201']