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.
8, ['6233', 'z', '4611', 'Q', '9445', '721', 'R', '6057', 'Y', '19', 'm', '8411', 'L', '511', 'P', '705', '5203', '5383', '8135', 's', 'v', '3547', 'm', '469', 'y', '4157', '9885', 'M', '4991']