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.
2, ['V', 'q', '4827', '1227', '2091', 'a', '7251', '6903', '1839', 'r', 'A', 'p', '7209', 'K', 't', 'c', '9943', 'G', '317', 'k', 'G', '4169', '2251', 's', 'n', '6671', 'G', 'm', '1183']