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.
13, ['a', '4283', '5687', 'G', '3081', 'F', '2279', 'w', '2631', '6641', '3471', 'h', 'a', '5291', '3605', 'z', '7051', 'i', 'G', 'B', '455', 'L', '5993', 'B', '2871', '6565', '7273', 'L', '3029', 'a']