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, ['9783', 'Y', 'P', '5607', '7761', '6755', '3805', '9269', 'H', 'o', 'V', '6139', 'h', '1737', 'Z', 'O', 'k', '5327', 'N', '8957', '4815', 'i', '5405', '5967', 'T', '9283']