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, ['X', 'e', '1173', 'p', 'F', 'w', 'e', '5067', 'V', 'x', '1229', 'm', '2129', 'p', 'u', '4665', 'k', 'R', '7115', 'f', 'Y', '1477', 'Z', 'c', 'I', '9931', '1733', '1021']