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, ['Q', '2637', '347', '6331', 'Z', '4211', 'X', '1995', 'p', '7483', 'N', 'z', '5259', '2403', 'b', 'l', 'M', 'e', '3337', 'c', '6163', 'g', '2629', 'a', '6743', '3109', 'i', 'B']