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, ['8213', '5699', 'T', 'Z', '6723', '5469', 'Z', 'o', '1147', 'O', 's', 'I', 'G', '6433', '2945', '3281', '6061', '5699', '8451', '8931', 'y', '5763', 'N', '7603', '7505', 'X', 'n', 'X', '9081', '103']