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, ['V', '3839', '401', '1235', '3353', 'H', '8325', '5053', '1241', 'M', '3589', 'X', 'X', 'H', '4331', '5385', 'K', 'l', '5179', '21', 'q', '6145', 'n', '9333', 'S', '5507', '9633', '9', 'h']