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, ['N', '4889', '5083', 'D', 'D', 'I', '5991', '4751', '4533', '8737', '7165', '2551', 'L', '4873', '175', 't', 'u', 'X', 'm', '1857', '4753', 'Y', 'q', 'Z', 'o', 'H', 'j', 'H', 'N', '2239']