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, ['7359', '7489', '3691', 'r', 'j', '2927', 'R', '9429', 'b', '4265', 'C', 'o', 'h', 'e', '8525', 'j', '2359', 'Y', 'H', 'p', '6127', 'L', '1387', '9277', 'e', '5565', '7403']