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.
9, ['F', '9065', '1163', 'K', '5591', 'c', 'h', '4009', '9415', 'G', '1317', '6937', '9381', '7223', 'z', '4185', '7793', '2205', 'U', '6665', 'J', '6531', '4007', '9625', 's', 'u', '9045', '4595']