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.
9, ['4813', '5347', 'e', '7519', '131', '5021', '4503', '1941', 'n', 'n', '4855', 'C', 'p', '3163', 't', '9769', 'R', '8319']