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.
9, ['1645', '517', 'f', 'T', 'i', 'd', '6865', 'c', 'a', '7841', 'c', '9767', 'r', 'o', '7951', '5745', 'e', 'o', '2007']