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, ['1061', '8177', 'R', 'd', '3517', 't', 'z', 'p', '5433', '7677', 't', 'W', 'c', 'j', '3801', 'q', '3545', 'Q', 'n', 'N', 'F', '8189', 'O', '1437', 'd', '8833', 'V', 'p']