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.
1, ['q', '4071', '6723', 'o', '5193', 'm', 'I', '5', '1749', '4397', 'B', 'j', 'i', 'd', '5651', 'K', 'b', '1341', 'm', 'w', 'N', '3635', 'V', 'k', '5859', 'l', 'o', '8365', 'q']