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.
12, ['y', '8573', 'u', '1621', 's', '6017', 'l', '811', '3529', '3325', 'Z', 'P', '3649', '3999', 'B', '2927', 'U', 'l', '8545', 'l', 'a', '3239', 'u', 'J', 'n', 'E', '6793']