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.
8, ['y', '5153', '569', '895', 'e', '4247', '6641', 'q', '8859', '11', '5487', 'w', '4557', '4187', 'g', '2005', '8907', '1699', '763', 'V', '8445', '9275', '2111', 'W', '3187', 's', '6931', 'F', 'R']