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, ['O', 'R', 'V', 'a', '1537', '7035', '5445', '4033', '1423', '8889', 'b', 'g', '6901', 'j', 'z', '3541', '3811', 'y', '6051', 'a', '7085', 'C', '4511', 'V', 'G', 'l', '4479', '4715', 'T']