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.

4, ['5721', 'Y', '4249', '761', '4147', 'N', 'o', '8185', '5871', 'u', '7463', 'f', '4443', 'K', '3077', 'S', '5099', 'v', '1827', 'g', 'E', 'F', '5643', 'c', '5473']
5721, Y, 4249, 761, 4147, N, o, 8185, 5871, u, 7463, f, 4443, K, 3077, S, 5099, v, 1827, g, E