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, ['4399', '9137', '613', '3023', 'n', '5903', '7547', '2497', 'C', 'U', 'R', 'W', '9233', 'j', 'R', 'A', '3483', '5267', 'h', 'N', '2167', '7303', 'E', '8581', 'A']