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, ['43', '9841', '8921', '1541', '5671', 'B', '9945', '1295', 'R', 'b', '7529', '6555', 'r', '49', '1891', '3323', 'q', '6751', 'r', '77', 'a', 'p', '855', '7957', 'f', '8019']