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.
6, ['x', 'R', 'J', '8685', 't', '4445', '8641', '619', 'O', 'D', 'u', '6283', '9485', '6913', '8059', '3461', 'C', '2157', 'a', 'Q', 'F', 'H', '5927', '7499', 'F', '8765', '9251']