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.
6, ['t', 'J', 'x', '4283', 'w', 'V', '5045', 'a', 'Z', '1775', 'Y', '4337', '9437', 'J', '3595', 'R', '6675', 'H', 'D', 'j', 'C', 'A', 'o', 'b', '4535', '1709']