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, ['8243', '575', 'm', '8465', '4305', 'p', '5545', 'A', 'U', 'y', '5963', 'Z', '5303', 'j', 'l', '9381', '4375', '8733', 'M', '2081', 'X', '9261', 'G', '8781', 'x', '4349', 'j', 'S', '899', 'C']