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, ['3499', '5791', 'x', 'p', '7065', '2071', 'L', 'X', '6385', '6659', '7705', 'a', 'b', '1773', '3789', 'd', 't', '4569', '2031', 'L', '4813', 't', 'o', '4997', '7011', '5675', '3765', '5799', '7821']