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.
3, ['O', 'e', 'p', '6101', 'R', '3613', 'M', 'U', '9971', 'q', '2853', 'L', 'm', 'x', '9283', '6593', '7465', '5137', 'T', 'H', 'N', '8549', 'U', 'y', '243', 'i', 'M', 'P', 'F']