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.
6, ['7617', '2043', '5715', '3363', '6407', 'y', '1217', 'Q', '9759', 'b', '1339', 'J', 'H', 'N', '5057', '413', '4723', 'T', 'I', '7225', 'h', 'g', 'Q', 'g', 'F']