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, ['973', '2765', '6453', 'f', '9781', 'N', 'n', 'u', '9537', 'P', '7035', '8403', '8313', 'p', '2077', 'H', 'V', '6307', 'r', 't', 'w', '5801', '6351', '4601', '8981', 'Z', 'C', 'w', '2407']