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, ['c', 'O', 'q', '9497', '8371', 'W', 'z', '7701', '1979', 'L', 'z', 'B', 'v', 'i', 'P', 'V', '1323', '7239', 's', '7885', 'p', 'b', 'x', '3535', '5963', 'E', 'k', 'e', '8343']