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.
5, ['3267', '1229', 'g', '9123', '7605', '9265', '4713', 'e', '3853', '8699', 'r', '7367', '8393', '7173', 'w', 'i', 'W', 'P', 'J', 'm', '7687', '3529', 'f', '7681', '1715', '7461', 'v', 'M', '569', 'p']