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, ['f', 'C', '4507', '7593', 'g', 'I', '8113', 'R', '8359', 'Y', 'F', 'b', '1359', 'P', 'o', '7091', '5745', 'D', 'W', '4947', '4357', '5945', 'E', 'd', 'q', '7233', 'C', '1671']