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.
13, ['m', 'G', '4311', '8761', 'f', '4761', 'U', 'Y', 'K', 'r', 'A', 'n', 'k', '1007', 'h', '6721', 'T', 'G', 'Y', 'S', 'A', 'W', '4065', '2837', '9673', 'I']