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.
15, ['k', 'E', 'T', 'r', '747', '9761', '7905', '4219', '1267', 'Y', 'X', '5773', '6551', 'u', 'd', '4517', '5135', '8021', '9937', 't', '543', 'K', 'E', 'p', 'w', 'X', 'd', 'f', '3879', '8687']