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.
1, ['A', 'U', 'J', 'n', 'G', 'H', 'W', 'l', '9837', '1223', '2623', '351', 'D', '7657', '9465', '8661', 'V', '8317', 'T', '2641', '6915', '657', '1853', 'n', '1447', 'c', '3689', 'L', '8047', '6885']