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: 11, ['8231', '989', '6353', '4699', 'J', '6771', '2211', '4205', 'd', '817', 'M', '4031', '301', '3551', 'A', 'O', 'W', '739', '5741', '2497', 'V', '3875', '5745', '647', '8505', '3673']
Output:
8231, 989, 6353, 4699, J, 6771, 2211, 4205, d, 817, M, 4031, 301, 3551, A