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, ['1617', '4609', '3341', 'q', '3505', '3585', 'R', '6857', '4433', '4501', '5783', '9487', 'L', '3171', 'I', '3149', '917', 'H', '5205', 'n', '9751', '5029', 'J', 't', 'z', 'F', '8805', 'O']