Definition: 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.
Input: 13, ['2031', '5519', '2171', 'C', 'Z', '1927', '6803', 'c', 'z', '8397', '7253', '4907', 'C', 'e', '9697', 'c', 'L', 'Q', '895', 'k', 'O', '4949', '6305', 'y', 'x', '6291']
Output:
2031, 5519, 2171, C, Z, 1927, 6803, c, z, 8397, 7253, 4907, C