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.
11, ['C', '2517', '2265', '93', 'a', '2533', 'H', '2361', '4631', '4343', '3185', '4987', '5303', 'g', '647', 'L', '7203', '4295', '5337', 'Q', 'Z', 'm']