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.
14, ['p', 'P', 's', '9261', '3025', '5455', '7485', '7315', '4387', 'W', '731', 'x', '2753', '9581', 'a', 'b', '2555', '9831', '5195', 'v', 'z', 'g', '3391', 'E', 'm', 'M', 'R', '1951', 'j']