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.
7, ['7483', 'j', 'i', 'c', 'E', '885', '6303', 'k', '3483', '4127', 'N', '6883', '6313', '5491', 'f', 'y', '9551', '4049', '6667', '9899', '589', 'n', 'C', 'R', 'w', '499', '7091', '6339', '8585', '2231']