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.
10, ['5255', 'U', '391', '7835', 'Y', 'F', 'l', 'A', '5633', '3555', '1799', 'd', 'v', '8303', 'b', '725', 'W', 'i', 'n', '2867', 'l', '8341', '4293', 'u', 'o', 'w', '1765', '4355']