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.
1, ['7657', 'b', '2679', '8215', '609', 'A', 'T', '3345', 'I', '2539', 'Z', 'K', '6989', '7493', 'i', '3547', '5693', '4751', '9953', 't', 'm', '7221', 'H', 'P', 'E', 'M']