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.
13, ['8489', '2721', 'P', '2793', '1557', '6187', '9121', 'l', '6389', '3821', '1027', '3673', 'G', 'V', 'a', '4553', '1329', 'E', '9843', '1717', 'M', 'h', '3207', '1971', '4893', 'U']