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.
12, ['1869', 'd', 'f', '7579', '8247', 'c', 'K', '4269', 'i', '7563', 'I', 'L', '1009', '105', '6475', '4251', '3849', 'f', '7817', '4815', 'T', '1461', '6097', '251', '3551', '7549']