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, ['8621', 'v', 'I', '8415', 'u', '8181', '7831', '9691', '9801', 'c', 'G', '7129', '6237', 'P', 'F', 'v', 'R', '7627', '4759', '2793', 'C', 'g', '8221', '9017', '711', '3223']