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, ['e', 'M', 'W', '3269', '3883', '4847', '3565', 'f', '295', '8431', '3395', 'H', '6805', 'A', 'b', '9459', '9463', 'E', '4013', '6719', 'a', 'O', 'W', 'R', 'G', '7081', 'H', '6469', '9163', '1007']