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, ['H', '4835', '5547', 'O', '8677', 'm', '6065', '8003', '5003', 'f', 'P', 'r', 'd', '1143', 'w', 'y', 'N', '2671', '9385', 'Z', 'e', '6359', '2041', '1623', '5881', '1031', '977', 'n', '6465', 'x']