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, ['5643', '1075', 'T', '5949', 'G', '7063', '1301', 'f', '1099', 'Y', '5387', 'L', '6431', 'P', '2465', '2077', 'u', '9631', 'c', '7767', 'n', 'v', '9359', '6451', 'c', '9827', 'Q', 'S']