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, ['4993', 'F', 'Q', '6041', '2257', '7007', '4261', 'V', '8451', 'k', 'Y', 'o', 'q', 't', '1357', 'h', 'n', 'I', 'D', 'i', '4909', '599', 'n', 'w', '325', 'w', 'a', '5063']