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, ['6095', 'z', 'T', '2657', 'r', 'w', '7099', 'c', 'I', '8437', '239', 'C', 'f', 'z', '6099', 'K', 'G', 'i', '3711', 'U', '4641', '3933', 'y', '7687', '5793']