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.
5, ['1449', 'S', 'U', 's', '6775', 'z', 'h', '6559', '2173', '9057', 'r', 'd', 'p', 'i', 'K', '4539', '2321', '6701', '2145', 'g', '8967', '4579', '9993', 'K', '1355']