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.
8, ['3387', '3895', 'i', 'W', '9279', '4819', '7769', 'Z', 'E', 'v', '1747', 'w', 'v', '259', '2517', '3935', 'Y', 'h', '3147', '4635', '1285', 'Z', 'V', 'O', 'a']